From Fedora Project Wiki
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=The test is to check that the Docker client is capable of pulling an image from a Registry. | |description=The test is to check that the Docker client is capable of pulling an image from a Registry. | ||
|setup=This is to test in Atomic image and Base image | |setup=This is to test in Atomic image and Base image. The Docker daemon has to be started on the machine(No need for Atomic image). | ||
|actions= | |actions= | ||
Be as specific as required for the target audience. | Be as specific as required for the target audience. | ||
# ssh into an Atomic/Base instance. | # ssh into an Atomic/Base instance. | ||
# Next Start Docker daemon | # Next Start Docker daemon(No need for Atomic image). | ||
$ systemctl start docker.service | $ systemctl start docker.service | ||
3. Pull fedora using Docker client. | |||
$ docker pull fedora | $ docker pull fedora | ||
4. Run the container. | |||
$ docker run fedora /bin/echo Hello World | $ docker run fedora /bin/echo Hello World | ||
Line 20: | Line 24: | ||
# Step #3 The Pull operation should pass without error. | # Step #3 The Pull operation should pass without error. | ||
# Step #4 will display text:Hello World | # Step #4 will display text:Hello World | ||
}} | }} |
Latest revision as of 10:43, 5 May 2016
Description
The test is to check that the Docker client is capable of pulling an image from a Registry.
Setup
This is to test in Atomic image and Base image. The Docker daemon has to be started on the machine(No need for Atomic image).
How to test
Be as specific as required for the target audience.
- ssh into an Atomic/Base instance.
- Next Start Docker daemon(No need for Atomic image).
$ systemctl start docker.service
3. Pull fedora using Docker client.
$ docker pull fedora
4. Run the container.
$ docker run fedora /bin/echo Hello World
Expected Results
The following must be true to consider this a successful test run.
- Step #1 You should be able to login into an instance.
- Step #2 Starts Docker Daemon.
- Step #3 The Pull operation should pass without error.
- Step #4 will display text:Hello World