Visit the official Docker Installation Page and follow the instructions tailored for your operating system.
Docker Compose makes dealing with the orchestration processes of Docker containers (such as starting up, shutting down, and setting up intra-container linking and volumes) really easy.
With docker compose we can define the entire multi-container application in single file and then the application can be spinned up using one command.
Visit the official Docker Compose Installation Page and follow the instructions tailored for your operating system.
Edit the docker-compose.yml and adjust the settings, if needed.
# Uncomment the lines below if you want to map your local source code
# inside the docker container
# volumes:
# - ../../Sming/:/workspace/Sming
ports:
#choose a free port to connect to the web C9 editor
- "10080:80"
devices:
# uncomment to map your serial USB adaptor
#- "/dev/ttyUSB0:/dev/ttyUSB0"
docker-compose up -d
And inside of the Terminal tab in your browser window you can type
cd $SMING_HOME
make
cd $SMING_HOME/../samples/Basic_Blink
make
make flash
docker-compose down