docker_containers
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| docker_containers [2015/10/05 09:38] – created luke7858 | docker_containers [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Showing containers: | + | ===Showing containers:=== |
| <sxh bash> | <sxh bash> | ||
| docker ps | docker ps | ||
| Line 9: | Line 9: | ||
| e74a951620df | e74a951620df | ||
| c4e618ab9128 | c4e618ab9128 | ||
| + | </ | ||
| + | \\ | ||
| + | ===Searching for an OS === | ||
| + | There are pre-configured docker containers, you are able to search for them using the search command: | ||
| + | <sxh bash> | ||
| + | docker search OS | ||
| + | </ | ||
| + | Example output | ||
| + | <sxh bash> | ||
| + | [root@docker ~]# docker search centos7 | ||
| + | NAME DESCRIPTION | ||
| + | ansible/ | ||
| + | milcom/ | ||
| + | gonzalomarcote/ | ||
| + | toprightgroup/ | ||
| + | cmer81/ | ||
| + | tukiyo3/ | ||
| + | opencpu/ | ||
| + | kriation/ | ||
| + | finalduty/ | ||
| + | appelgriebsch/ | ||
| + | </ | ||
| + | \\ | ||
| + | ===Renaming a Container=== | ||
| + | \\ | ||
| + | docker rename --help | ||
| + | <sxh bash> | ||
| + | Usage: docker rename [OPTIONS] OLD_NAME NEW_NAME | ||
| </ | </ | ||
| + | <sxh bash> | ||
| + | docker rename CentOS6 WebApplication | ||
| + | </ | ||
| + | \\ | ||
| <sxh bash> | <sxh bash> | ||
| </ | </ | ||
| + | <sxh bash> | ||
| + | |||
| + | </ | ||
| + | \\ | ||
| <sxh bash> | <sxh bash> | ||
docker_containers.1444037898.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
