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...")
 
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.
|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.
 
# Pull fedora using Docker client.
 
# Pull fedora using Docker client.
Line 16: Line 16:
 
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.  

Revision as of 10:04, 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.

How to test

Be as specific as required for the target audience.

  1. ssh into an Atomic/Base instance.
  2. Next Start Docker daemon.
  3. Pull fedora using Docker client.
  4. Run the container.
 $ systemctl start docker.service
 $ docker pull fedora 
 $ 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

Optional

Optionally provide hints for exploratory testing.