问题
If we run docker run -d -p 8080:8080 sanjayme/vscode-dotnet-core --auth none --cert
still we are facing not secure connection. How to solve this?
Even we tried something similar to
docker \
-v /path/to/certs.crt:/home/coder/cert.crt \
-v /path/to/cert-key.key:/home/coder/cert.key \
-p 8080:8080 \
run codercom/code-server:v2 \
--cert /home/coder/cert.crt --cert-key /home/coder/cert.key
the http url is working, but if we browse https dns mapped url it's throwing an error. Check the attachment for error:
来源:https://stackoverflow.com/questions/61386014/problem-in-running-code-server-in-https-secure