send SIGTERM: docker stop [container name or id] send SIGKILL docker kill [container name or id]
docker inspect [container name or id]
--tail 100 -f
Hay algunas sutilezas. Ver el manual.
docker cp [container name or id]:/path/to/internal/file /path/to/external/file
docker exec
docker exec -i, --interactive # stdin -t, --tty # interactive example: docker exec -it mariadb /bin/bash
docker stats
docker ls
docker networks ls
list images
prune
docker-compose bindings:
docker-compose restart: