From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
|setup= | |setup= | ||
Open Cockpit in your browser as described [[Test_Day:2014-09-16_Cockpit#How_to_test.3F|here]]. | Open Cockpit in your browser as described [[Test_Day:2014-09-16_Cockpit#How_to_test.3F|here]]. | ||
Make sure that Docker is active by following these steps inside Cockpit: | |||
# Navigate to "Services" page. | |||
# Switch to the "Sockets" tab. | |||
# Find the "docker.socket" unit and start it. | |||
# Optionally, you can also "enable" the unit so that it starts after every boot. | |||
Alternatively, you can run these commands in a shell: | |||
<pre> | |||
# systemctl start docker.socket | |||
# systemctl enable docker.socket | |||
</pre> | |||
|actions= | |actions= | ||
# Navigate to the "Containers" page. | # Navigate to the "Containers" page. |
Revision as of 12:25, 10 September 2014
Description
Download and run a Docker image with Cockpit
Setup
Open Cockpit in your browser as described here.
Make sure that Docker is active by following these steps inside Cockpit:
- Navigate to "Services" page.
- Switch to the "Sockets" tab.
- Find the "docker.socket" unit and start it.
- Optionally, you can also "enable" the unit so that it starts after every boot.
Alternatively, you can run these commands in a shell:
# systemctl start docker.socket # systemctl enable docker.socket
How to test
- Navigate to the "Containers" page.
- Download the "fedora" image.
- Create a new container by running the image. Make sure it has a terminal.
- Type some commands into the container terminal.
- Monitor the memory and CPU usage of the container.
Expected Results
No errors should occur.