3. Step: Run Your Project - koglak/SWE573 GitHub Wiki

  1. While your instance is running, create docket-compose file

    touch docker-compose.yml
    
  2. Go your docker-compose file

    vi docker-compose.yml
    
  3. Enter your code in docker-compose.yml file:

image

  1. Exit the docker-compose.yml - type below code

     :wq
    

(Note: delete content of docker-compose.yml => :das )

(Note: "a" allows to edit file)

(Note: "qa" don't save and exit)

image

  1. Go to link > Linux > Install the binary manually Instructions: Docker-Compose Install

  2. Check your docker images

     docker images
    

image

  1. Try your docker

    docker-compose up --detach
    
  2. Run your docker

    docker-compose up