Skip to content

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

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,...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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