From Fedora Project Wiki

< QA‎ | Draft

Revision as of 21:47, 21 April 2016 by Maxamillion (talk | contribs) (Created page with "= Docker QA = Docker is a lightweight Operating System level virtualization, for more information please visit the Fedora Wiki Docker page or the upstream [htt...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Docker QA

Docker is a lightweight Operating System level virtualization, for more information please visit the Fedora Wiki Docker page or the upstream Docker Documentation.

Baseline Smoke Tests

Docker Is Installable

Docker should be able to be successfully installed.

$ dnf -y install docker

Should yield a system with docker installed.

$ rpm -q docker

Docker Deamon Should be running

When installed, the docker daemon should be able to successfully start.

$ systemctl start docker.service

Should yeild a functioning (non-failed state) docker daemon.

$ systemctl status docker.service
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2016-04-18 11:18:40 CDT; 3 days ago
     Docs: http://docs.docker.com
 Main PID: 1404 (sh)
   CGroup: /system.slice/docker.service
           ├─1404 /bin/sh -c /usr/bin/docker daemon            $OPTIONS            $DOCKER_STORAGE_OPTIONS            $DOCKER_NETWORK_OPTIONS            $INSECURE_REGISTRY            2>&1 | /usr/bin/forward-journald -tag docker
           ├─1414 /usr/bin/docker daemon --selinux-enabled --log-driver=journald -G dockerroot --storage-opt dm.no_warn_on_loop_devices=true
           └─1415 /usr/bin/forward-journald -tag docker

Docker Can Pull Images

When the docker daemon has been started on a machine, the docker client on that same machine should be capable of pulling an image from a Registry.

The following pull operation should result without error:

$ sudo docker pull fedora 

Run the following command to run "Hello World" by means of Busybox:

$ sudo docker run fedora /bin/echo pass

The following text appears: pass