Docker
  • Introduction
  • Docker
    • Introduction
    • Install Docker
    • Detener imagenes
    • Ejecutar el bash de una imagen
    • Detener contenedor docker-compose actual
    • Remover imagenes
    • Instalar una imagen
    • Comandos docker
    • Ejecutar el contenedor
    • Registrarse en Docker Hub
    • Ver listado de contenedores
    • Subir imagen a DockerHub
    • Configurar los paquetes a instalar
    • Crear una imagen con Java Wildfly
    • Instalar MariaDB
    • NetBeans Docker maven
  • Java en Docker
    • Oracle JDK
    • OpenJDK
  • MongoDB CON DOCKER COMPOSE
    • Instalar Studio 3t
    • Crear directorio en docker
    • Copiar archivos de docker al disco
    • Ejecutar mongoShell
    • Backup/Restore en Carpetas
    • Backup en un zip
    • Restore archivo .gz
    • MongoDB Compass
  • MySQL Con Docker-Compose
  • NetBeans con MySQL Docker
  • NetBeans con MySQL Server install
  • PayaraMicro con Docker
    • Payara Micro con Bases datos
  • Payara Server Pool de Conexiones MySQL
  • MySQL BackupRestore
  • PayaraServer docker Compose
  • PayaraServer docker pool conexion
  • Jakarta EE con DockerCompose
  • OracleDB docker
    • Error de Password Expirado
  • WebLogic Docker compose
  • Ant
    • Instalar
  • Postfix
    • Instalar Postfix
  • Nano
  • Curl
  • Descargar Wildfly
  • EJBCA
    • Guia de instalacion
    • Requisitos ejbca
    • Configurar MySQL
    • User pki
    • Driver MySQL
    • OpenSSH
    • Java
    • Descargar EJBCA
    • Wildfly 10
    • Activar archivos de Configuracion
    • Ejecutar Wildfly
  • GlassFish
  • Jig Google
  • SQL Server
    • Cliente
    • Conectarse con Java
    • NetBeans con SQLServer docker
  • Restaurar bases de datos
  • Jenkins
  • Kubernetes
    • Payara con Kubernetes y Vuejs
Powered by GitBook
On this page

Was this helpful?

  1. Docker

Comandos docker

Ahora que tenemos docker instalado y funcionando es tiempo de familiarizarnos con los comandos del cliente, estos responden a la siguiente sintaxis:

docker [opcion] [comando] [argumentos]

Si queremos ver todos los comandos disponibles escribiremos:

docker

A partir de docker 1.11.1 la lista de comandos disponibles es:

attach Attach 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 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 a container or image kill Kill a running container 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 network Manage Docker networks pause Pause all processes within a container 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 a container 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 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 a running container tag Tag an image into a repository top Display the running processes of a container unpause Unpause all processes within a container update Update configuration of one or more containers version Show the Docker version information volume Manage Docker volumes wait Block until a container stops, then print its exit code

Para ver que parámetros debemos usar en cada comando utilizaremos:

dockernombre-del-comando--help

Para ver la información del sistema usaremos:

docker info

PreviousInstalar una imagenNextEjecutar el contenedor

Last updated 6 years ago

Was this helpful?