From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description= Create a new Docker image with Cockpit |setup= Open Cockpit in your browser as described here. Mak...")
 
No edit summary
Line 9: Line 9:
# Login as "root"
# Login as "root"
# Navigate to the "fedora" container.
# Navigate to the "fedora" container.
# Install the "httpd" package into the container with "yum install httpd".
# Install some missing package into the container with "yum", maybe "yum install emacs".
# Stop the container.
# Stop the container.
# Commit it as a new image.
# Commit it as a new image.
# Run the new image.  Make sure it has a terminal. Map the container port 80 to any host port you like.
# Run the new image.  Make sure it has a terminal.
# Point your browser at the port on your machine.
# Use the terminal of the new container and verify that the installed package is there.
|results=
|results=
No errors should occur.
No errors should occur.
}}
}}

Revision as of 09:51, 10 September 2014

Description

Create a new Docker image with Cockpit

Setup

Open Cockpit in your browser as described here.

Make sure you have completed this test case successfully.

How to test

  1. Login as "root"
  2. Navigate to the "fedora" container.
  3. Install some missing package into the container with "yum", maybe "yum install emacs".
  4. Stop the container.
  5. Commit it as a new image.
  6. Run the new image. Make sure it has a terminal.
  7. Use the terminal of the new container and verify that the installed package is there.

Expected Results

No errors should occur.