From Fedora Project Wiki
< User:Roshi | QA/AtomicTests
(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...") |
Maxamillion (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
# Download the latest image using curl like so: | # Download the latest image using curl like so: | ||
curl | curl http://alt.fedoraproject.org/pub/alt/stage/23_Beta_RC1/Docker/x86_64/Fedora-Docker-Base-23_Beta-20150915.x86_64.tar.xz > F23.tar.xz | ||
# Load the tar.gz docker image into the docker daemon like so: | # Load the tar.gz docker image into the docker daemon like so: | ||
docker load -i | docker load -i F23.tar.xz | ||
# Run a dockerized application using the tag from the image | # Run a dockerized application using the tag from the image | ||
# Example: | # Example: | ||
docker run -it --rm Fedora-Docker-Base- | docker run -it --rm Fedora-Docker-Base-23_Beta-20150915.x86_64 true && echo "PASS" || echo "FAIL" | ||
results= | results= | ||
# Output from the example command should resemble: | # Output from the example command should resemble: | ||
PASS | PASS |
Latest revision as of 15:40, 22 September 2015
This is a simple testcase to determine whether the latest Fedora docker image run properly.
- Ensure you have a booted working Atomic Host and have downloaded (using curl) the latest docker image
- Download the latest image using curl like so:
curl http://alt.fedoraproject.org/pub/alt/stage/23_Beta_RC1/Docker/x86_64/Fedora-Docker-Base-23_Beta-20150915.x86_64.tar.xz > F23.tar.xz
- Load the tar.gz docker image into the docker daemon like so:
docker load -i F23.tar.xz
- Run a dockerized application using the tag from the image
- Example:
docker run -it --rm Fedora-Docker-Base-23_Beta-20150915.x86_64 true && echo "PASS" || echo "FAIL"
results=
- Output from the example command should resemble:
PASS