I add two docker containers via CLI and suddenly I can't ssh into my machine or access any local container.... what happened??

2 years ago by ComradeMiao to c/selfhosted

Added the only actions I did in the comments.

load all comments
Coldmoon 15 points 2 years ago

Could you give us even the slightest bit of detail? What containers? Did you try pinging the device?

path: 0 15237244, hotness: undefined, score: 15, children: 6
ComradeMiao -10 points 2 years ago

That’s really all I did. There were port conflicts, I changed in the yml then lost contact.

On the server ssh is fine. I can ssh into another server but not into it. Can ping 1.1.1.1.

Can’t access containers or ssh

path: 0 15237244 15237971, hotness: undefined, score: -10, children: 5
Coldmoon 9 points 2 years ago

There is too much to decipher here

path: 0 15237244 15237971 15242593, hotness: undefined, score: 9, children: 0
Evkob 5 points 2 years ago

They meant pinging your server from another device, I assume.

What error(s) do you get when you try to SSH into your server?

By "can't access containers", I assume you mean via devices you're trying to connect to the server with? Can you still access the stuff you're running in the containers directly on the server via localhost?

I'll echo what the other commenter's have said and you need to give us more info. "I added two containers" is pretty much useless if that's all we have to go off of to start troubleshooting. More details on what exactly you did, any troubleshooting steps you've already tried, what specific errors you get, etc.

path: 0 15237244 15237971 15238546, hotness: undefined, score: 5, children: 3
selfhosted
selfhosted

@lemmy.world

login for more options
62945
6793
5617

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

go to feed...