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
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
Create a new Docker image with Cockpit
Create a new Docker image with Cockpit
|setup=
|setup=
Open Cockpit in your browser as described [[Test_Day:2014-09-16_Cockpit#How_to_test.3F|here]].
Log into Cockpit.


Make sure you have completed [[QA:Testcase Cockpit DockerImage|this test case]] successfully.
Make sure you have completed [[QA:Testcase Cockpit DockerImage|this test case]] successfully.
|actions=
|actions=
# 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.
}}
}}

Latest revision as of 09:57, 23 March 2015

Description

Create a new Docker image with Cockpit

Setup

Log into Cockpit.

Make sure you have completed this test case successfully.

How to test

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

Expected Results

No errors should occur.