Skip to content

Instantly share code, notes, and snippets.

View jjsfatllc's full-sized avatar
🌴
On vacation

jjsfatllc jjsfatllc

🌴
On vacation
View GitHub Profile
@jjsfatllc
jjsfatllc / run.tpl
Created March 7, 2023 21:55 — 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}}