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 response from daemon: Cannot start container [8] System error: not a directory #4

Closed
dkirrane opened this issue Aug 18, 2015 · 2 comments

Comments

@dkirrane
Copy link

I'm hitting the following issue:

# docker run -it -p 24224:24224 -v /opt/fluent.conf:/fluentd/etc -e FLUENTD_CONF=fluent.conf --name="fluentd" fluent/fluentd:latest
Timestamp: 2015-08-18 18:27:30.223988366 +0100 IST
Code: System error

Message: not a directory

Frames:

---
0: setupRootfs
Package: github.com/opencontainers/runc/libcontainer
File: rootfs_linux.go@37

---
1: Init
Package: github.com/opencontainers/runc/libcontainer.(*linuxStandardInit)
File: standard_init_linux.go@52

---
Error response from daemon: Cannot start container 6b35e175f2542c959f0b95557ea368f1a4eaad157a6a4a40ae49fed20c6c8e46: [8] System error: not a directory
@repeatedly
Copy link
Member

/opt/fluent.conf

This is a file, not a directory.
See README: https://github.com/fluent/fluentd-docker-image/tree/3be028a5396594bdd2c7f69f5faa6fddbe4b0a68#fluentd_conf

@dkirrane
Copy link
Author

ah ill try that. looks like a documentation issue:
https://docs.docker.com/reference/logging/fluentd/#testing-container-loggers

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

No branches or pull requests

2 participants