docker-ce:
Installed: (none)
Candidate: 5:19.03.9~3-0~ubuntu-focal
Version table:
5:19.03.9~3-0~ubuntu-focal 500
500 https://download.docker.com/linux/ubuntu focal/stable amd64 Packages
Output attach Attach local standard input, output, and error streams to a running container
build Build an image from a Dockerfile
commit Create a new image from a container's changes
cp Copy files/folders between a container and the local filesystem
create Create a new container
diff Inspect changes to files or directories on a container's filesystem
events Get real time events from the server
exec Run a command in a running container
export Export a container's filesystem as a tar archive
history Show the history of an image
images List images
import Import the contents from a tarball to create a filesystem image
info Display system-wide information
inspect Return low-level information on Docker objects
kill Kill one or more running containers
load Load an image from a tar archive or STDIN
login Log in to a Docker registry
logout Log out from a Docker registry
logs Fetch the logs of a container
pause Pause all processes within one or more containers
port List port mappings or a specific mapping for the container
ps List containers
pull Pull an image or a repository from a registry
push Push an image or a repository to a registry
rename Rename a container
restart Restart one or more containers
rm Remove one or more containers
rmi Remove one or more images
run Run a command in a new container
save Save one or more images to a tar archive (streamed to STDOUT by default)
search Search the Docker Hub for images
start Start one or more stopped containers
stats Display a live stream of container(s) resource usage statistics
stop Stop one or more running containers
tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
top Display the running processes of a container
unpause Unpause all processes within one or more containers
update Update configuration of one or more containers
version Show the Docker version information
wait Block until one or more containers stop, then print their exit codes
docker compose up -d
docker [option] [command] [arguments]
docker info
OutputCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1c08a7a0d0e4 ubuntu "/bin/bash" 3 minutes ago Up 5 seconds quizzical_mcnulty
version: "3.7"
services:
networks:
travellist:
driver: bridge
version: '3.7'
services:
web:
image: nginx:alpine
ports:
- "8000:80"
volumes:
- ./app:/usr/share/nginx/html
OutputCreating network "compose-demo_default" with the default driver
Pulling web (nginx:alpine)...
alpine: Pulling from library/nginx
cbdbe7a5bc2a: Pull complete
10c113fb0c77: Pull complete
9ba64393807b: Pull complete
c829a9c40ab2: Pull complete
61d685417b2f: Pull complete
Digest: sha256:57254039c6313fe8c53f1acbf15657ec9616a813397b74b063e32443427c5502
Status: Downloaded newer image for nginx:alpine
Creating compose-demo_web_1 ... done
mkdir -p ~/.docker/cli-plugins/
curl -SL https://github.com/docker/compose/releases/download/v2.2.3/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose
Recommend
How To Install and Use Docker on Ubuntu 20.04 Step 1 — Installing Docker
Built-in Python 3 Functions for Working with Numbers Prerequisites Still looking for an answer?
Built-in Python 3 Functions for Working with Numbers Calculating a Sum
Built-in Python 3 Functions for Working with Numbers Rounding Numbers
Built-in Python 3 Functions for Working with Numbers Power
Built-in Python 3 Functions for Working with Numbers Absolute Value
Cómo indexar, dividir y manipular cadenas en JavaScript Búsqueda y sustitución de valores de cadenas
Cómo indexar, dividir y manipular cadenas en JavaScript Recorte de espacios en blanco
Cómo indexar, dividir y manipular cadenas en JavaScript División de cadenas
Cómo indexar, dividir y manipular cadenas en JavaScript Conversión a mayúsculas o minúsculas
Cómo indexar, dividir y manipular cadenas en JavaScript Búsqueda de la longitud de una cadena
Cómo indexar, dividir y manipular cadenas en JavaScript Acceso a los caracteres
Cómo instalar y proteger Redis en Ubuntu 18.04 Paso 5 - Renombrar comandos peligrosos
Cómo instalar y proteger Redis en Ubuntu 18.04 Paso 4 - Configurar un contraseña de Redis
Cómo instalar y proteger Redis en Ubuntu 18.04 Paso 3: Vinculación a localhost
Cómo instalar y proteger Redis en Ubuntu 18.04 Paso 2: Pruebas en Redis
Cómo instalar y proteger Redis en Ubuntu 18.04 Paso 1: Instalación y configuración de Redis