From Fedora Project Wiki

Revision as of 03:46, 7 May 2015 by Dustymabe (talk | contribs) (Created page with "This is a simple testcase to determine whether the latest Fedora docker image run properly. {{Admon/note|Prerequisite|This testcase assumes you have already ran the [https://f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a simple testcase to determine whether the latest Fedora docker image run properly.

Prerequisite
This testcase assumes you have already ran the boot test.
  1. Ensure you have a booted working Atomic Host and have downloaded (using curl) the latest docker image
  1. Download the latest image using curl like so:
 curl https://dl.fedoraproject.org/pub/alt/stage/22_TC1/Docker/x86_64/Fedora-Docker-Base-22_TC1-20150428.x86_64.tar.xz > F22.tar.xz
  1. Load the tar.gz docker image into the docker daemon like so:
 docker load -i F22.tar.xz
  1. Run a dockerized application using the tag from the image
  2. Example:
 docker run -it --rm Fedora-Docker-Base-22_TC1-20150428.x86_64 true && echo "PASS" || echo "FAIL"

results=

  1. Output from the example command should resemble:
PASS