From Fedora Project Wiki
< User:Roshi | QA/AtomicTests
(Created page with "{{QA/Test_Case |description=This is a simple testcase to determine whether docker containers run properly on an Atomic Host. {{Admon/note|Prerequisite|This testcase assumes yo...") |
No edit summary |
||
Line 17: | Line 17: | ||
e433a6c5b276: Download complete | e433a6c5b276: Download complete | ||
PASS | PASS | ||
# Ensure that the docker daemon is using the storage set up by | # Ensure that the docker daemon is using the storage set up by container-storage-setup | ||
$ lsblk | |||
NAME | NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT | ||
vda | vda 252:0 0 20G 0 disk | ||
└─vda1 252:1 0 20G 0 part | |||
vdb 252:16 0 6G 0 disk | |||
├─vdb1 252:17 0 300M 0 part /boot | |||
└─vdb2 252:18 0 5.7G 0 part | |||
├─atomicos-root 253:0 0 4G 0 lvm /sysroot | |||
└─atomicos-docker--root--lv 253:1 0 1.1G 0 lvm /sysroot/ostree/deploy/fedora-atomic/var/lib/docker | |||
└─atomicos-docker-- | |||
}} | }} |
Revision as of 15:19, 20 June 2017
Description
This is a simple testcase to determine whether docker containers run properly on an Atomic Host.
Setup
- Ensure you have a booted working Atomic Host
How to test
- Run a dockerized application
- Example:
docker run -it --rm busybox true && echo "PASS"
Expected Results
- Output from the example command should resemble:
Unable to find image 'busybox' locally Pulling repository busybox e72ac664f4f0: Download complete 511136ea3c5a: Download complete df7546f9f060: Download complete e433a6c5b276: Download complete PASS
- Ensure that the docker daemon is using the storage set up by container-storage-setup
$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vda 252:0 0 20G 0 disk └─vda1 252:1 0 20G 0 part vdb 252:16 0 6G 0 disk ├─vdb1 252:17 0 300M 0 part /boot └─vdb2 252:18 0 5.7G 0 part ├─atomicos-root 253:0 0 4G 0 lvm /sysroot └─atomicos-docker--root--lv 253:1 0 1.1G 0 lvm /sysroot/ostree/deploy/fedora-atomic/var/lib/docker