DEV Community

sandris-
sandris-

Posted on

Docker for Developers (Workshop Ideas)

Hi,

Docker is very cool, everyone uses it bla bla bla..

In reality I rarely see that developers know and use Docker to automate their work, set up local environments etc.

For that reason I am planning to conduct a Docker for Developers workshop (free / simbolic fee)

Question of the day is - what could be some interesting use cases to accomplish in the workshop?

Few ideas from my side:

  • running integration tests against db / ... in Docker
  • merging two different databases (MySQL & Postgres) in the Docker image and storing the output in the file locally
  • running Node environment in Docker for a local development
  • obfuscating production-like database and making it available with all the data
  • running development environment locally, by using Docker Compose

Top comments (1)

Collapse
 
0916dhkim profile image
Danny Kim

VS Code has a feature called "devcontainer" where you can specify project dependencies (i.e. postgres, redis, elasticsearch) in a docker-compose file and edit code inside a docker container with all dependencies spawned automatically for you. The coolest part is that once devcontainer is set up in a repository, everyone else can have the same experience without any configuration. Although GitHub Codespaces sounds like a better version of devcontainer, Codespaces is currently in beta whereas you can try devcontainer now. I wrote a tutorial about this last year and you can also read more about the feature in VSC docs:
github.com/0916dhkim/vscode-devcon...
code.visualstudio.com/docs/remote/...