Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message when image and container has same name is confusing #1925

Closed
jelmstrom opened this issue Aug 26, 2015 · 2 comments
Closed

Error message when image and container has same name is confusing #1925

jelmstrom opened this issue Aug 26, 2015 · 2 comments

Comments

@jelmstrom
Copy link

I accidentally gave my container the exact same name as the image used, and the error message that resulted was quite confusing..

[8] System error: not a directory
The config looks like this

godata:
  image: godata
  privileged: true

If this is not a valid option it would be helpful if it is caught while parsing the yml file rather than at run-time

Changing either the image pr container name solves the problem...

@aanand
Copy link

aanand commented Aug 27, 2015

You're definitely allowed to use the same image and service name - we do exactly that with redis in the quick start guide, for example.

@jelmstrom
Copy link
Author

That is very odd - that particular compose-file, on that particular node is the only one that had that behaviour. I can't reproduce it anymore though, extremely odd that changing the name of the container altered the behaviour. File system or disk issue perhaps.

Dropping this, thanks..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants