Docker and Docker-Compose
HomeTech JournalsPersonal ProjectsSysadmin Wiki
  • Docker and Docker-Compose
  • Docker-Compose
    • Important
    • Command line
    • Logs
  • Docker
    • Important
    • Command line
    • Logs
Powered by GitBook
On this page
  1. Docker-Compose

Command line

PreviousImportantNextLogs

Last updated 2 years ago

Command Line Examples

Enter the command line using

docker-compose run {instance_name} bash

Enter command line using

docker-compose exec {instance_name} /bin/bash
run
exec