From Fedora Project Wiki

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.. 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/Base 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.
 
# Pull fedora using Docker client.
 
# Run the container.
 
# Run the container.

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