$ docker images REPOSITORY TAG ID CREATED SIZE base latest b750fe79269d 3 months ago 24.65 kB (virtual 180.1 MB) base ubuntu-12.10 b750fe79269d 3 months ago 24.65 kB (virtual 180.1 MB) base ubuntu-quantal b750fe79269d 3 months ago 24.65 kB (virtual 180.1 MB) base ubuntu-quantl b750fe79269d 3 months ago 24.65 kB (virtual 180.1 MB)
$ sudo add-apt-repository ppa:dotcloud/lxc-docker
ReplyDelete$ sudo apt-get install lxc-docker
ReplyDelete$ sudo docker -d &
ReplyDelete// en Ubuntu no hace falta, el paquete instala el archivo init y levanta el servicio automaticamente
$ docker pull base
ReplyDeletePulling repository base from https://index.docker.io/v1
Pulling image 27cf784147099545 () from base
Pulling 27cf784147099545 metadata
Pulling 27cf784147099545 fs layer
Downloading 1.573 MB/94.86 MB ( 2%)
(...)
$ docker images
ReplyDeleteREPOSITORY TAG ID CREATED SIZE
base latest b750fe79269d 3 months ago 24.65 kB (virtual 180.1 MB)
base ubuntu-12.10 b750fe79269d 3 months ago 24.65 kB (virtual 180.1 MB)
base ubuntu-quantal b750fe79269d 3 months ago 24.65 kB (virtual 180.1 MB)
base ubuntu-quantl b750fe79269d 3 months ago 24.65 kB (virtual 180.1 MB)
$ docker build -t horacio/docker-desktop git://github.com/rogaha/docker-desktop.git
ReplyDeleteStep 1 : FROM ubuntu:12.10
Pulling repository ubuntu from https://index.docker.io/v1
Pulling image b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc (12.10) from ubuntu
---> b750fe79269d
Step 2 : MAINTAINER Roberto G. Hashioka "roberto_hashioka@hotmail.com"
---> Running in eb5887b173eb
---> 794059b32fe3
Step 3 : RUN apt-get update
---> Running in 996987bdbda9
---> 67959070b8b2
Step 4 : RUN export DEBIAN_FRONTEND=noninteractive
---> Running in 7159210dcddf
---> 04814d556b25
Step 5 : RUN apt-get install -y xserver-xephyr xdm fluxbox rox-filer ssh
---> Running in 07df128dbc16
Error build: The command [/bin/sh -c apt-get install -y xserver-xephyr xdm fluxbox rox-filer ssh] returned a non-zero code: 100
The command [/bin/sh -c apt-get install -y xserver-xephyr xdm fluxbox rox-filer ssh] returned a non-zero code: 100
>> al parecer, el problema son los DNS, tomados de /etc/resolv.conf del host...
Deletehttps://github.com/dotcloud/docker/pull/832
>> ERROR! Tampoco hubo suerte...
Delete$ docker -dns="8.8.8.8" build -t horacio/docker-desktop git://github.com/rogaha/docker-desktop.git
ReplyDelete