Hacker News new | ask | show | jobs
by merb 3734 days ago
The same thing could happen with docker, too.
1 comments

You usually can't ssh into docker container because:

1) it usually doesn't have sshd

2) you change would be thrown away at nearest container restart or migration.

The only way for it to persist is to do the right thing, i.e. apply the change where you should and have the container rebuilt.

You don't need ssh to get into a docker container.