Docker.pdf

Vista previa de texto
[sudo] password for osboxes:
Unable to find image 'hello-world:latest' locally
En caso de que Docker no encuentre la imagen buscada en el sistema local, el daemon
inicia un proceso de descarga (pulling) desde el repositorio de Docker.
latest: Pulling from library/hello-world
78445dd45222: Pull complete
Digest:
sha256:c5515758d4c5e1e838e9cd307f6c6a0d620b5e07e6f927b07d05f6d12a1ac8d7
Status: Downloaded newer image for hello-world:latest
Tras descargar la imagen con éxito y recibir el mensaje “Downloaded newer image
for hello-world:latest” (“se ha descargado la imagen hello-world:latest más reciente”) se
inicia el contenedor, que incluye un script hello-world sencillo con el siguiente mensaje de
los desarrolladores:
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent
it to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
https://cloud.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/engine/userguide/
En resumen, lo que este texto dice es que Docker funciona correctamente.
Desinstalar Docker
Igual de fácil que instalarla es desinstalar la plataforma de contenedores a través de la
terminal. Si quieres eliminar el paquete de Docker del sistema, introduce el siguiente
comando en la terminal de Ubuntu y confirma con [ENTER]:
$ sudo apt-get purge docker-engine
Una vez el sistema ha leído la información necesaria para la desinstalación, debes
confirmar el comando de nuevo.
