images
images copied to clipboard
anaconda devcontainer docs example does not work
If using the default Dockerfile, and devcontainer.json including three simple enhancements, which are also mentioned and shown in the readme:
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [8888],
// Use 'postStartCommand' to run commands after the container is created.
"postStartCommand": "nohup bash -c 'jupyter notebook --ip=0.0.0.0 --port=8888 --allow-root &'",
// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
This will never complete when opening a local workspace in devcontainer.
I'm not sure what the fix is, but, I think the example should be made to work correctly, as this is a very common configuration.