How do I develop inside a Docker container running on a Droplet using Visual Studio Code Remote Containers?
I am new to Docker containers and would like to know if this is an appropriate way to setup my development and production workflow.
I would like to setup two Docker containers:
- Docker container-1 (Droplet #1): Development
- Docker container-2 (Droplet #2): Production
I would like to then connect to each of the containers using Visual Studio Code’s Remote Containers, where I can develop remotely on container-1, and when I’m ready for production, can push the container to the production droplet running Docker also.
Would anyone be able to provide me a brief high-level overview of how I would go about setting this up on DigitalOcean.
As a secondary question, would I be better off going Kubernetes rather than two droplets only running Docker.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×