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

Non root container #93

Open
Southclaws opened this issue Sep 28, 2021 · 0 comments
Open

Non root container #93

Southclaws opened this issue Sep 28, 2021 · 0 comments

Comments

@Southclaws
Copy link
Collaborator

The Pico Docker image is currently root (the insane default of Docker)

This means that making quick ad-hoc changes to targets or config is quite annoying. You have to chown the targets directory, do your quick changes/tests and chown it back to root (or let Pico overwrite with root).

Instead, there should be a better solution to this, allowing users to deploy new setups easily where they can deploy manually a few times to work out any first-time-deploy issues then commit those changes and leave Pico to handle the rest.

The ideal workflow would be:

  • Add a target to Pico, with a no-op up command
  • Pico clones this to its targets directory
  • You jump in and do your own docker-compose up and figure out any last-minute deployment details you need
  • Once you're happy with the setup and the target is running, change the up command to the live version
  • Pico takes over
  • At any point you can jump in and make ad-hoc changes to the live target then commit your changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant