User Tools

Site Tools


ubuntu:docker

This is an old revision of the document!


Docker

Docker is an open-source project that provides an open platform for developers and sysadmins to build, package, and run applications anywhere as a lightweight container. Docker automates the deployment of applications inside software containers.

More about Docker can be found in the documentation here https://docs.docker.com/.


Assign a hostname to the container

Automatically delete containers when they exit

Basic Usage of Docker

Change the default IP address

Common Security Issues Inside Public Docker Images

CoreOs

Create a container

Create an image

Docker Images vs. Container

Install Docker

Launch a Docker Container

Name a container

Persistent Storage

Remove a container

Remove a volume

Remove an image

Remove dangling image

Restart a container

Run Apache server

Share data between a docker container and the Host

Share data between docker containers

TODO run an ubuntu gui desktop docker run-d -p 6080:6080 dorowu/ubuntu-desktop-lxde-vnc . The desktop is accessible via VNC.

Things to know about Docker

Tips For Building a Docker Image


Assign a hostname to the container

Automatically delete containers when they exit

Basic Usage of Docker

Change the default IP address

Common Security Issues Inside Public Docker Images

CoreOs

Create a container

Create an image

Docker Images vs. Container

Install Docker

Launch a Docker Container

Name a container

Persistent Storage

Remove a container

Remove a volume

Remove an image

Remove dangling image

Restart a container

Run Apache server

Share data between a docker container and the Host

Share data between docker containers

TODO run an ubuntu gui desktop docker run-d -p 6080:6080 dorowu/ubuntu-desktop-lxde-vnc . The desktop is accessible via VNC.

Things to know about Docker

Tips For Building a Docker Image


References

ubuntu/docker.1574815788.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki