Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the Octopus Linux container as a non-root user #6585

Closed
mcasperson opened this issue Sep 18, 2020 · 3 comments
Closed

Running the Octopus Linux container as a non-root user #6585

mcasperson opened this issue Sep 18, 2020 · 3 comments
Assignees
Labels
kind/bug This issue represents a verified problem we are committed to solving
Milestone

Comments

@mcasperson
Copy link

Are you a customer of Octopus Deploy? Don't raise the issue here. Please contact our support team so we can triage your issue, making sure it's handled appropriately.

Prerequisites

  • [ * ] I have verified the problem exists in the latest version
  • [ * ] I have searched open and closed issues to make sure it isn't already reported
  • [ * ] I have written a descriptive issue title
  • [ * ] I have linked the original source of this report
  • [ * ] I have tagged the issue appropriately (area/*, kind/bug, tag/regression?)

The bug

The Octopus Linux container creates a user called octopus, but when the container is run with this user, the error standard_init_linux.go:211: exec user process caused "permission denied" is displayed.

What I expected to happen

The container should be able to be run without a root user.

Steps to reproduce

  1. Run docker run --user octopus --env "ACCEPT_EULA=Y" octopusdeploy/octopusdeploy:2020.3.4
  2. See error

Affected versions

All versions of Octopus Linux container.

Workarounds

No known workarounds exist.

Links

Internal link: https://help.octopus.com/t/run-octopus-linux-docker-container-as-non-root-user/25685

@mcasperson mcasperson added the kind/bug This issue represents a verified problem we are committed to solving label Sep 18, 2020
@mcasperson mcasperson self-assigned this Sep 18, 2020
@mcasperson mcasperson modified the milestones: 2020.3.5, 2020.5.0 Sep 18, 2020
@mcasperson
Copy link
Author

@mcasperson
Copy link
Author

This has been fixed in 2020.5.0.

@octoreleasebot
Copy link

Release Note: Linux Docker image can now be run as the user octopus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This issue represents a verified problem we are committed to solving
Projects
None yet
Development

No branches or pull requests

2 participants