Skip to content

Unable to run a 'custom' run command in the devcontainer.json #8752

Open
@gbraad

Description

@gbraad

🐛 bug report

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project
    adheres to.
  • I have searched the issue tracker for an issue that matches the one I want
    to file, without success.

Description of the problem

My existing devcontainer.json relies on the entrypoint defined in the dockerfile, but this causes the startup to fail.

How has this issue affected you? What are you trying to accomplish?

This means something like systemd or other init system can not be used. To enable this:

    "overrideCommand": false,
    "privileged": true,

is set in the devcontainer.json. This works on a local machine, and on GitHub codespaces.

To Reproduce

For example:

Link to sandbox: link (optional)

Your Environment

Software Name/Version
Сodesandbox latest?
Browser Vivaldi
Operating System Fedora,/Windows,...

Metadata

Metadata

Assignees

No one assigned

    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