Code-server: Mapping SSL Certs in docker fails with error EISDIR: illegal operation on a directory, read

Created on 1 Feb 2020  路  1Comment  路  Source: cdr/code-server

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 ;) )

question

>All comments

See #1331

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tecosaur picture tecosaur  路  3Comments

infogulch picture infogulch  路  3Comments

lshamis picture lshamis  路  3Comments

chrischabot picture chrischabot  路  3Comments

RealSlimMahdi picture RealSlimMahdi  路  3Comments