Remote Ubuntu
for create a docker that can use ssh to remote into this container
prerequisite
- authorized_keys
Dockerfile
Loading content…
- supervisord.conf
-
Loading content…
-
</div>
Loading content…
Usage for docker
docker compose build
docker compose up
Usage for podman
k8s yaml
Loading content…
podman pod rm -f ubuntu-ssh-pod
podman play kube hold.yaml
podman exec -it ubuntu-ssh-pod-ubuntu-ssh-container bash