Docker: Difference between revisions
Obirvalger (talk | contribs) (Created page with "= Docker = [https://en.wikipedia.org/wiki/Docker_(software) Docker] is an open platform for developing, shipping, and running applications. == Installation == <ol> <li> To in...") |
(Grammar fixes) |
||
Line 5: | Line 5: | ||
<ol> | <ol> | ||
<li> | <li> | ||
To install docker run: | To install docker, run: | ||
: <code># apt-get install docker-ce</code> | : <code># apt-get install docker-ce</code> | ||
</li> | </li> | ||
Line 38: | Line 38: | ||
* web servers <code>nginx</code> and <code>apache2</code>; | * web servers <code>nginx</code> and <code>apache2</code>; | ||
* configuration storage <code>etcd</code>; | * configuration storage <code>etcd</code>; | ||
* tools for running your applications: <code>python</code> | * tools for running your applications: <code>python</code> and <code>ruby</code>; | ||
* and others. | * and others. |
Revision as of 16:40, 21 December 2018
Docker
Docker is an open platform for developing, shipping, and running applications.
Installation
-
To install docker, run:
# apt-get install docker-ce
-
If you want docker to work from user (not from root) add user to group
docker
# gpasswd docker -a USER_NAME
-
Then start and enable
docker
service:# systemctl start docker
# systemctl enable docker
Images
Official image
Official ALT image locates at: https://hub.docker.com/_/alt/. Container could be run via:
docker run --rm -it alt
By default use tag latest
, that points to latest stable release.
To specify sisyphus use corresponding tag:
docker run --rm -it alt:sisyphus
Derivative images
Special images are located at https://hub.docker.com/u/altcloud/. These images are built from Dockerfiles from https://github.com/alt-cloud/ALT-Dockerfiles (pull-requests are welcome).
There are images for the following purposes:
- web servers
nginx
andapache2
; - configuration storage
etcd
; - tools for running your applications:
python
andruby
; - and others.