Docker Dev Env Setup

Use Case

Set up C++ development environment in Docker

Source Code

  • Development Environment Setup
    1. Docker compose
    2. VS Code
    3. Development environment in the container

Video explanation of the code

Golang-Crash-Course-VS-Setup

Backend-cpp containers running in docker swarm mode

ubuntu@nsq:~$ docker service ps wa87az5pa94r | grep Running
o11m8jwstr12   sravz_production-backend-cpp.2h9q3kj5ylrr0iz8npr65auhb       public.ecr.aws/b8h3z2a1/sravz/backend-cpp:v15   ip-172-30-0-119   Running         Running 7 hours ago                                         
put6x8odm2kb   sravz_production-backend-cpp.8gde3890sh0ffvhu7r5ox86a7       public.ecr.aws/b8h3z2a1/sravz/backend-cpp:v15   ip-172-30-0-47    Running         Running 7 hours ago                                         
vuvwqjamxwh4   sravz_production-backend-cpp.61fvmpk9cheqinwgs28yn8rpp       public.ecr.aws/b8h3z2a1/sravz/backend-cpp:v15   ip-172-30-0-159   Running         Running 7 hours ago                                         
v2c9887euxky   sravz_production-backend-cpp.c7d4t8vt9th1ldwnx1dlt9232       public.ecr.aws/b8h3z2a1/sravz/backend-cpp:v15   ip-172-30-0-196   Running         Running 7 hours ago 
comments powered by Disqus