From Fedora Project Wiki

Description

This is basic TC for the Container Management Role (Docker) for Fedora 21 Server. Go through the TC and you can experiment with it after completing the steps.

Setup

Below is the requirements for this test case.

  • VM or physical hardware
  • Make sure to have a internet connection to pull images off the web.
  • Note: i386 does not support Docker please use x86-64

How to test

Please follow these steps:

  • If you want a in-depth guide please visit this guide: Docker Guide
  1. Boot into system and boot from CD or USB (VM or Physical Hardware)
  2. Select your language.
  3. On the next page, in the software selection box, select "Container Management"
  4. Make sure you go over your configuration before continuing the installation
  5. Wait until the installer finishes. (Make sure to put in your root username and password.)
  6. After the installation has finished and has rebooted log into the command prompt with your username & password.
  7. Once in the terminal please start docker by issuing sudo docker -d &
    • If you have trouble with networking please issue sudo service network restart
  8. After that,(After logging In), enter docker this will list all the commands available for docker
  9. Next enter, sudo docker search [image name]. (Image name can be centOS, fedora, ubuntu etc.)
  10. To choose and download a image issue this command sudo docker pull [username/image name]
  11. After it has downloaded you can view your image(s) with this sudo docker images
  12. To create a new container issue the command sudo docker run [username/image name] [command]
    • In this case issue echo Hello World for the [command]
  13. Finally to stop a container issue: sudo docker stop [container ID]

Expected Results

This test case is a good starting point free-form test case (Do as you like), but you should be able to get these results / outcomes below:

  1. Be able to install / run x86-64 F21 Server.
  2. Be able to download an image from the docker repository.
  3. Be able to run and issue a command to a docker image.
  4. Report your findings and any bugs you may encounter