Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 607 Bytes

helpful_commands.md

File metadata and controls

22 lines (20 loc) · 607 Bytes

Helpful Commands

This file contains a list of commands I found useful while developing this application.

  • Check diskspace of top level directories:
    du -h -d 1
    
  • Run docker containers
    # Create a network, which allows containers to communicate
    # with each other, by using their container name as a hostname
    docker network create my_network
    
    # Build dev
    docker compose -f docker-compose.dev.yml build
    
    # Up dev
    docker compose -f docker-compose.dev.yml up
    
  • Stop all running docker containers
    docker stop $(docker ps -a -q)