pi@noads:~ $ cat ~/.bashrc
[..]
alias ddg='surfraw duckduckgo -l'
alias google='surfraw google -l'
[..]
pi@noads:~ $ ddg docker attach
Description
Attach local standard input, output, and error streams to a running
container
Usage
https://docs.docker.com/engine/reference/commandline/attach/
Have looksee here bout running SSH in a container:
Images should contain the bare minimum amount of code necessary to run whichever service or application you are creating the image for. Exclude any non-essential services from the image. For example, in most cases there is no reason to include an SSH server inside a container image because you can log into the container in other, more secure ways. So don’t include SSH.
I found this thread because I'm trying to do a two way sync between pihole installations. One is a docker, and the other is on a rpi. Haven't figured it out yet.
This looks like what I was looking for: