Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Mapping SSL Certs in docker fails with error EISDIR: illegal operation on a directory, read #1324

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

Closed
NarkedDiver opened this issue Feb 1, 2020 · 1 comment

Comments

@NarkedDiver
Copy link

Description

I am running this docker command

docker run -it -p 8888:8080 -v path/to/certs/cert.crt:/home/coder/certs/cert.crt codercom/code-server --cert /home/coder/certs/cert.crt

and I get the error message

error EISDIR: illegal operation on a directory, read

I have removed the --cert command and the container starts correctly and when I go into bash in the container I can see cert.crt and doing ls -l gives

drwxrwxrwx 2 coder coder 4096 Feb 1 03:46 cert.crt

so I'm not sure what the error is (other than a typo by me ;) )

@nhooyr
Copy link
Contributor

nhooyr commented Feb 3, 2020

See #1331

@nhooyr nhooyr closed this as completed Feb 3, 2020
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