smebberson / docker-alpine

Docker containers running Alpine Linux and s6 for process management. Solid, reliable containers.
MIT License
596 stars 187 forks source link

Unable to run locally built alpine-base #54

Closed aneeshd16 closed 8 years ago

aneeshd16 commented 8 years ago

Steps:

  1. Build alpine base: docker build -t aneeshd16/alpine-base .
  2. Run alpine-base: docker run aneeshd16/alpine-base Output:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 30-resolver: executing...
: No such file or directory sh
[cont-init.d] 30-resolver: exited 111.
[cont-init.d] 40-resolver: executing...
: No such file or directory sh
[cont-init.d] 40-resolver: exited 111.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
: No such file or directory sh
: No such file or directory sh
: No such file or directory sh
: No such file or directory sh
: No such file or directory sh
: No such file or directory sh
<continues>

Compare this to docker run smebberson/alpine-base

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 30-resolver: executing...
[cont-init.d] 30-resolver: exited 0.
[cont-init.d] 40-resolver: executing...
[cont-init.d] 40-resolver: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.

Thanks in advance!

smebberson commented 8 years ago

Can I see your Dockerfile?

aneeshd16 commented 8 years ago

Its the same file in this repo, i did not do any changes to it. I should also probably mention that I am running this on Windows.

aneeshd16 commented 8 years ago

Tested on an Ubuntu machine, works okay. Ahh well, sorry for the trouble, time to get a new machine.

smebberson commented 8 years ago

@aneeshd16, I was just looking at this now. I know a few others run this on Windows without issue. Sorry I couldn't be of more help!