I have a Dockerfile
:
FROM jpetazzo/dind
ENV debian_frontend noninteractive
RUN apt-get -y update
RUN apt-get install -y supervisor
COPY supervisor.conf /etc/supervisor.conf
COPY wrapdocker.conf /etc/supervisor/conf.d/wrapdocker.conf
CMD supervisord -c /etc/supervisor.conf
Running it gives me an EOF
:
$docker build .
Sending build context to Docker daemon 2.048 kB
Sending build context to Docker daemon
Step 0 : FROM jpetazzo/dind
EOF
I am on Ubuntu 14.04:
$docker version
Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 786b29d
OS/Arch (client): linux/amd64
Server version: 1.7.1
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 786b29d
OS/Arch (server): linux/amd64
Any clue why is there an EOF
?
I tried to re-copy the file in another directory, it didn't change anything. Changing FROM jpetazzo/dind
to FROM ubuntu
does change things.
EDIT: The logs created during the mistake:
/var/log/upstart$ sudo cat docker.log
INFO[0568] POST /v1.19/build?cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&memory=0&memswap=0&rm=1&t=