Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Comandos Útiles Docker

# Hola mundo con docker
$ docker run hello-world
# Ver contenedores corriendo
$ docker ps
# Ver todos los contenedores
$ docker ps -a
# Inspecionar la config un contenedor
$ docker inspect <container_id or container_name>
# Crear un contenedor con un nombre personalizado
$ docker run --name <custom_name> <image_name>
# Renombrar un contenedor
$ docker rename --name <old_name> <new_name>
# Eliminar un contenedor
$ docker rm <container_id or container_name>
# Eliminar todos los contenedores apagados
$ docker container prune
# Eliminar TODOS los contenedores
$ docker rm -f $(docker ps -aq)
Comment

PREVIOUS NEXT
Code Example
Shell :: compare two files shell script 
Shell :: change group ownership linux 
Shell :: how to make new branch and switch in git 
Shell :: umask examples 
Shell :: install vmware workstation linux mint 
Shell :: create ssh key 
Shell :: docker NoRouteToHostException: No route to host (Host unreachable) 
Shell :: install robot framework 
Shell :: ubuntu server 20.04 list only user names 
Shell :: install wordpress ubuntu 
Shell :: concat strings inside array bash script 
Shell :: show git branch on terminal on mac 
Shell :: update msfconsole 
Shell :: expo uninstall package 
Shell :: where are dns entries on linux 
Shell :: online c linux compiler 
Shell :: Trying to register Bundler::GemfileError for status code 4 but Bundler::GemfileError is already registered 
Shell :: how to chekc jupyter lab version 
Shell :: linux scp 
Shell :: create service without spec 
Shell :: check file path linux 
Shell :: python code to find os version of Webserver 
Shell :: fix node gyp issue on linux 
Shell :: remove branch not published yet 
Shell :: windows command to grant permission to a directory 
Shell :: git config pull with prune 
Shell :: install wget on redhat 
Shell :: how to install rebar3 
Shell :: git pull asks for passphrase every time 
Shell :: how to install bwa in ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =