[Feature] Add ssh to docker image
See original GitHub issueLeveraging the Docker image in CircleCI, I’m running into issues fully leveraging git
in the way that I had with previous images I had run my build on. In particular, being able to push changed to my gh-pages
branch from CI. It looks like this is due to a lack of ssh
, could we get that added to the image?
Separately, I’m not a very advanced user in this context, but is there a good way for me to overcome your use of USER pwuser
in the build? It would allow for the use (maybe also the install) of sudo
and other tools without getting blocked by the lock:
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
This would all for actually confirming what sort of things should be added to the build in order to leverage the image more successfully when running into issue like this.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:6 (6 by maintainers)
Top Results From Across the Web
SSH into a Docker Container? How to Execute Your Commands
In this post, we'll cover how to execute commands from a prompt within the Docker container along with detailed examples and best practices....
Read more >SSH into Docker Container or Use Docker Exec?
Step 1 - Build docker image with OpenSSH. First, you will need an SSH keypair. · Step 2 - Running the Docker container...
Read more >How to SSH into Docker Containers [Step-by-Step]
1. Open a terminal on your local machine. · 2. Next, run the docker run command to start the container. · 3. Now,...
Read more >How to SSH Into a Docker Container - How-To Geek
Instead of adding SSH to individual containers, install it once on the physical host that's running Docker. Use SSH to connect to your...
Read more >SSH into Docker Containers [A Step-by-Step Guide] | StrongDM
Directly Connect via SSH. You can circumvent these built-in Docker commands and simply install an OpenSSH server on your container via the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oooh, yes! That did the trick. 🔥🔥🔥🔥🔥🔥🔥
I’m OK with not worrying about having
sudo
, for now… Other than a process slowdown that I haven’t tracked down yet, this gets my use of Playwright fully caught up to where my project was before the conversion. Woot!@Westbrook I think this is because we didn’t have git installed there; it’s been added recently so should be available in the next release.
Sounds reasonable, we’ll enable password-less sudo for
pwuser
inside the docker image.