https://github.com/jpetazzo/dind
docker pull
consume tremendous amount of storage until no space left on device
.
Check backing file system host docker is using with command docker info
:
https://github.com/jpetazzo/dind
docker pull
consume tremendous amount of storage until no space left on device
.
Check backing file system host docker is using with command docker info
:
$ docker run --name pg1 -p 5432:5432 -e POSTGRES_PASSWORD=postgres -d postgres
$ docker run --name pg1 -p 5432:5432 -e POSTGRES_PASSWORD=postgres -d -v postgres-data:/var/lib/postgresql/data postgres
CentOS7, Python 2.7, CUDA 9.1, OpenMPI 3.10.0.
yum groupinstall -y "Development Tools"
yum install -y epel-release
yum install -y python-pip python-devel wget
import numpy as np
import tensorflow as tf
# np.set_printoptions(threshold=np.nan)
def run(x, w, pad='SAME', stride=(1, 1)):
xx = tf.constant(x, dtype='float32')
C++ main.cpp:
#include <opencv2/core/core.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>
#include <string>
using namespace cv;
Uninstall if you have old version installed:
nvidia-uninstall
Install dependencies:
yum -y update
sudo apt install -y nasm
wget https://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-1.5.2.tar.gz
tar xvf libjpeg-turbo-1.5.2.tar.gz && cd libjpeg-turbo-1.5.2
wget https://cmake.org/files/v3.12/cmake-3.12.3.tar.gz
tar zxvf cmake-3.*