Skip to content

Instantly share code, notes, and snippets.

View griloHBG's full-sized avatar
💭
I should use Git more...

Henrique griloHBG

💭
I should use Git more...
View GitHub Profile
@griloHBG
griloHBG / run.tpl
Last active February 1, 2023 22:25 — forked from efrecon/run.tpl
`docker inspect` template to regenerate the `docker run` command that created a container
docker run \
--name {{printf "%q" .Name}} \
{{- with .HostConfig}}
{{- if .Privileged}}
--privileged \
{{- end}}
{{- if .AutoRemove}}
--rm \
{{- end}}
{{- if .Runtime}}