Remote Ubuntu

for create a docker that can use ssh to remote into this container

prerequisite

Dockerfile

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