Docker Utilities#
Ctop#
docker run --rm -ti \
--name=ctop \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
quay.io/vektorlab/ctop
Portainer#
Watchtower#
Dockly#
Dozzle#
Nginx Proxy Manager#
get_container_run_command#
通过容器获取容器的docker run命令/get the docker run by a container.
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock cucker/get_command_4_run_container CONTAINER
# Command alias
echo "alias get_run_command='docker run --rm -v /var/run/docker.sock:/var/run/docker.sock cucker/get_command_4_run_container'" >> ~/.bashrc
. ~/.bashrc
# Excute command
## For all runing containers
get_run_command {allrun}
## For all containers include shutdown
get_run_command {all}
## For one or more containers
get_run_command <CONTAINER> [CONTAINER...]