The recent installation of Caffe on Ubuntu always has a variety of problems, although because of the system version of the problem is not installed CUDA, a lot less trouble, but in make when always missing this. o file or less that. h file. Docker common commands please see the first one in the reference section . This article directory 0. Installation of Docker 1. Get Caffe Docker Mirror 1.1 through Dockerfile to create Docker mirror 1.2 search and download Caffe Mirror 2. View the currently running container 3. The Docker mirror creates and runs a container 4. Enter the container in 5. Exit and Stop container 6. Enter the Caffe container to attempt to use Python 7. Startup and other issues 7.1 Ubuntu14.04 boot failure 7.2 Unable to download from warehouse to mirror reference more reference 0. Install Docker
The command to install Docker on Ubuntu is simple:
1 |
sudo apt-get install docker. IO |
1. Get the Docker mirror image of Caffe
Happened to have a group of friends said Docker, had seen before, and now vaguely remember. Now there are two ways to get the Docker mirror, you can choose one (1.1 or 1.2). Considering that some students do not git under the Caffe source code, we recommend the second method (skip 1.1, Start 1.2 Search and download Caffe Docker mirror). 1.1 creating Docker mirrors via Dockerfile
Found Caffe from the Github download down the package, the root directory has a folder named Docker, you can go in after the CPU folder or GPU folder, according to Dockerfile to build different versions of the Docker Caffe image. Use the following command to build a mirror:
1 |
Docker build-t Repo_name/tag _name. |
The place where the mirror is saved I don't know where to find the book, but I found some of the files in the Docker installation in a folder in the user's root directory. It's mirrored in our mirrored warehouse anyway (later on). 1.2 Search for and download Caffe Docker mirrors
Using the following command, you can search for all user-uploaded mirrors on the Docker Hub, and generally select the most common mirror of Point stars (Star). After you enter the command (Docker search Caffe), it appears as follows: