Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.07 KB

running-command-inside-running-container.md

File metadata and controls

47 lines (32 loc) · 1.07 KB
layout title description
default
Beginners Track - Running a command inside running Container
collabnix | DockerLab | Docker - Beginners Track

Running a command inside running Container

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

Opening up the bash shell

docker exec -t <container-id> bash

Proceed » Managing Docker Containers