TIL `docker init`
Published
tl;dr docker init
can scaffold out a Docker container for your codebase.
TIL that Docker has an init
command e.g. docker init
that lets you quickly get started containerizing your code. It comes with a few templates:
- ASP.NET Core (never done anything in this realm)
- Go
- Java
- Node
- PHP (w/ Apache)
- Python
- Rust
- Other (general purpose)
Hereβs the official docs: https://docs.docker.com/reference/cli/docker/init/
This is something that Iβd love to try out with existing projects that predated containers being commonplace (at least for me personally). In particular, Iβd love to containerize my random number generator1.
I love hearing from readers so please feel free to reach out.
Reply via email • Subscribe via RSS or email
Last modified #til #dx #programming