4. Basic Usage

4.2. Pulling from Docker Hub

  • Only pull

  • Will not run

$ docker pull IMAGE_NAME

4.3. Operating system images

4.3.1. Alpine

  • Image size is 5.53 MB

  • Edge is the newest version

$ docker pull alpine

4.3.2. Debian

$ docker pull debian

4.3.3. Ubuntu

../_images/release-ubuntu.png

Figure 4.6. Long term support and interim releases

$ docker pull ubuntu:18.04
$ docker pull ubuntu:latest
$ docker pull ubuntu          # will pull latest

4.4. Where docker store containers

  • /var/lib/docker/containers

$ docker info |grep 'Docker Root Dir'
Docker Root Dir: /var/lib/docker