Join our Discord Server
Getting Started with Docker

Accessing the Container Shell

Estimated reading: 1 minute 89 views

Tested Infrastructure

Platform Number of Instance Reading Time
Play with Docker 1 5 min

Pre-requisite

  • Create an account with DockerHub
  • Open PWD Platform on your browser
  • Click on Add New Instance on the left side of the screen to bring up Alpine OS instance on the right side

Create Ubuntu Container

docker run -dit ubuntu 

Accessing the container shell

docker exec -ti <container-id> bash

Accesssing the container shell

docker attach <container-id>

Share this Doc

Accessing the Container Shell

Or copy link

CONTENTS
Join our Discord Server