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

Docker crashing SSH session #2

Open
steakscience opened this issue Dec 13, 2021 · 4 comments
Open

Docker crashing SSH session #2

steakscience opened this issue Dec 13, 2021 · 4 comments

Comments

@steakscience
Copy link

Hi,

Love this repo, thanks for sharing it!

Do you run into issues with the SSH session crashing every time docker-compose is run?

If so, how do you avoid it?

Thanks!

@abhilesh
Copy link
Owner

Hey,

Glad you're finding this repo useful. About the SSH crashing issue, it'd be hard to say anything without knowing the particular details of your configuration,

  • What's the hardware your server is running, is it a Pi?
  • What's the OS and version?
  • Are you using a docker-based container to SSH into the server?

We can then start digging further and troubleshoot potential causes.

@steakscience
Copy link
Author

I'm on a Pi 4B

  • have tried both Pi OS Lite Buster (legacy) and Bullseye (latest)
  • using a Mac to SSH into the Pi

Not sure why but docker-compose will always crash the session. I have tried running htop while pulling images and there isn't a RAM or CPU strain

@just5ky
Copy link

just5ky commented Dec 15, 2021

try changing the SSH server on Pi
image

@abhilesh
Copy link
Owner

abhilesh commented Dec 15, 2021

Apparently it might be something to do with recent updates to docker-compose as discussed in the following issues -
docker/compose#8238
docker/compose#8221

A possible workaround seems to be using the newer docker compose up command instead of docker-compose up

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

3 participants