Skip to content

anaconda devcontainer docs example does not work #1354

@wkhatch

Description

@wkhatch

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions