SSH into Docker with Root User
May 11, 2024 · 2 min read · Tools Docker OS: Ubuntu Steps: 1. Pull ubuntu image docker pull ubuntu Pulls the Ubuntu Docker image from the repository. 2. Run Ubuntu Image with Name and Exposing Port: docker run -id --name ubuntu_ssh_ -p 2222:22 ubuntu Launches the Ubunt...
Join discussion
