From Fedora Project Wiki

(Created page with "{{QA/Test_Case |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 an Atomic image. The Docker d...")
 
No edit summary
 
(3 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 an Atomic image. The Docker daemon has to be started on the machine.
|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 instance.
# ssh into an Atomic/Base instance.
# Next Start Docker daemon.
# Next Start Docker daemon(No need for Atomic image).
# Pull fedora using Docker client.
# Run the container.


   $ 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 16: Line 20:
The following must be true to consider this a successful test run.
The following must be true to consider this a successful test run.


# Step #1 You should be able to login into an Atomic instance.
# Step #1 You should be able to login into an instance.
# Step #2 Starts Docker Daemon.
# Step #2 Starts Docker Daemon.
# 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
|optional=Optionally provide hints for exploratory testing.
}}
}}

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.

  1. ssh into an Atomic/Base instance.
  2. 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.

  1. Step #1 You should be able to login into an instance.
  2. Step #2 Starts Docker Daemon.
  3. Step #3 The Pull operation should pass without error.
  4. Step #4 will display text:Hello World