Difference between revisions of "Docker.io Howto"
From Cactus Howto
Jump to navigationJump to search (Die Seite wurde neu angelegt: „Beispiel auf Ubuntu 14.04.1 System: itsecorg@pbuilder:~$ sudo aptitude install docker.io Set proxy for docker: itsecorg@pbuilder:~$ grep http_proxy /etc/def…“) |
|||
Line 6: | Line 6: | ||
export http_proxy="http://proxy.int.cactus.de:8080/" |
export http_proxy="http://proxy.int.cactus.de:8080/" |
||
sudo service docker.io restart |
sudo service docker.io restart |
||
Search |
Search images: |
||
sudo docker search |
sudo docker search -s 4 "ubuntu" |
||
<pre> |
|||
NAME DESCRIPTION STARS OFFICIAL AUTOMATED |
|||
ubuntu Official Ubuntu base image 934 [OK] |
|||
dockerfile/ubuntu Trusted automated Ubuntu (http://www.ubunt... 32 [OK] |
|||
crashsystems/gitlab-docker A trusted, regularly updated build of GitL... 21 [OK] |
|||
ansible/ubuntu14.04-ansible Ubuntu 14.04 LTS with ansible 21 [OK] |
|||
clue/ttrss The Tiny Tiny RSS feed reader allows you t... 19 [OK] |
|||
mbentley/ubuntu-django-uwsgi-nginx 17 [OK] |
|||
sylvainlasnier/memcached Memcached docker images based on Ubuntu 14... 17 [OK] |
|||
ubuntu-upstart Upstart is an event-based replacement for ... 16 [OK] |
|||
dockerfile/ubuntu-desktop Trusted automated Ubuntu Desktop (LXDE) (h... 14 [OK] |
|||
tutum/ubuntu Ubuntu image with SSH access. For the root... 13 [OK] |
|||
tinyerp/ubuntu-openerp Run OpenERP on Ubuntu - September 2014 10 |
|||
itsecorg@pbuilder:~$ |
|||
</pre> |
|||
Install images: |
|||
sudo docker pull busybox |
sudo docker pull busybox |
||
Display installed images: |
|||
<pre> |
|||
itsecorg@pbuilder:~$ sudo docker images |
|||
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE |
|||
<none> <none> 2af995afbfd5 About an hour ago 2.433 MB |
|||
busybox ubuntu-14.04 d940f6fef591 6 weeks ago 5.609 MB |
|||
busybox ubuntu-12.04 d415c60e5ea3 6 weeks ago 5.455 MB |
|||
busybox buildroot-2014.02 e72ac664f4f0 6 weeks ago 2.433 MB |
|||
busybox latest e72ac664f4f0 6 weeks ago 2.433 MB |
|||
busybox buildroot-2013.08.1 4b2909447dbe 6 weeks ago 2.489 MB |
|||
itsecorg@pbuilder:~$ |
|||
</pre> |
Revision as of 12:32, 14 November 2014
Beispiel auf Ubuntu 14.04.1 System:
itsecorg@pbuilder:~$ sudo aptitude install docker.io
Set proxy for docker:
itsecorg@pbuilder:~$ grep http_proxy /etc/default/docker.io export http_proxy="http://proxy.int.cactus.de:8080/" sudo service docker.io restart
Search images:
sudo docker search -s 4 "ubuntu"
NAME DESCRIPTION STARS OFFICIAL AUTOMATED ubuntu Official Ubuntu base image 934 [OK] dockerfile/ubuntu Trusted automated Ubuntu (http://www.ubunt... 32 [OK] crashsystems/gitlab-docker A trusted, regularly updated build of GitL... 21 [OK] ansible/ubuntu14.04-ansible Ubuntu 14.04 LTS with ansible 21 [OK] clue/ttrss The Tiny Tiny RSS feed reader allows you t... 19 [OK] mbentley/ubuntu-django-uwsgi-nginx 17 [OK] sylvainlasnier/memcached Memcached docker images based on Ubuntu 14... 17 [OK] ubuntu-upstart Upstart is an event-based replacement for ... 16 [OK] dockerfile/ubuntu-desktop Trusted automated Ubuntu Desktop (LXDE) (h... 14 [OK] tutum/ubuntu Ubuntu image with SSH access. For the root... 13 [OK] tinyerp/ubuntu-openerp Run OpenERP on Ubuntu - September 2014 10 itsecorg@pbuilder:~$
Install images:
sudo docker pull busybox
Display installed images:
itsecorg@pbuilder:~$ sudo docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE <none> <none> 2af995afbfd5 About an hour ago 2.433 MB busybox ubuntu-14.04 d940f6fef591 6 weeks ago 5.609 MB busybox ubuntu-12.04 d415c60e5ea3 6 weeks ago 5.455 MB busybox buildroot-2014.02 e72ac664f4f0 6 weeks ago 2.433 MB busybox latest e72ac664f4f0 6 weeks ago 2.433 MB busybox buildroot-2013.08.1 4b2909447dbe 6 weeks ago 2.489 MB itsecorg@pbuilder:~$