Docker Community Forums

Share and learn in the Docker community.

Amazon linux and docker


(Varvind) #1

Hi,

I run amazon linux and docker 1.9.1 with ECR docker registry

When machine comes up I see the docker service is running and docker ps -a is working but docker build with simple image is throwing

Invalid configuration: /media/ephemeral1/docker/devicemapper/mnt/bf5abe10d470b24fe80d5ba240c5915dc92b23e16af20d2c1a378e5637a5e365/rootfs is not an absolute path or is a symlink

I do have DOCKER_OPTIONS=’"–default-ulimit nofile=1024:4096 --graph=/media/ephemeral1/docker/"’ set as well

docker build .
Sending build context to Docker daemon 14.34 kB
Step 1 : FROM busybox
latest: Pulling from library/busybox
4b51ded9aed1: Pull complete
307ac631f1b5: Pull complete
Digest: sha256:4a887a2326ec9e0fa90cce7b4764b0e627b5d6afcb81a3f73c85dc29cea00048
Status: Downloaded newer image for busybox:latest
—> 307ac631f1b5
Step 2 : RUN echo hello world
—> Running in bf5abe10d470
[7] Invalid configuration: /media/ephemeral1/docker/devicemapper/mnt/bf5abe10d470b24fe80d5ba240c5915dc92b23e16af20d2c1a378e5637a5e365/rootfs is not an absolute path or is a symlink

Any help is appreciated
Vidhya