Categorygithub.com/turtletowerz/runlike-go
modulepackage
1.1.5
Repository: https://github.com/turtletowerz/runlike-go.git
Documentation: pkg.go.dev

# README

runlike-go

runlike in Go, providing a smaller Docker image.

Motivation

This is a project meant mostly to get me acquainted with Github Actions. I chose to recreate this library because I found the original project's Docker image to be 400MB+, which I thought was excessive for such a simple utility. I wanted to recreate one that would (ideally) be around 10MB, trimming out the actual build process which is already done in a separate Github Action.

Usage

docker run --rm -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/turtletowerz/runlike-go YOUR-CONTAINER

Flag Support

This list contains all flags offered as of Docker v27.2 / API v1.47

FlagSupportedNotes
--add-host
--annotation
-a, --attach-a with no arguments is the same as --attach stdin
--blkio-weight
--blkio-weight-device
--cap-add
--cap-drop
--cgroup-parent
--cgroupnsUnsure of what the default value should be (varies with Docker version)
--cidfile
--cpu-countWindows only?
--cpu-percentWindows only?
--cpu-period
--cpu-quota
--cpu-rt-period
--cpu-rt-runtime
-c, --cpu-shares
--cpus
--cpuset-cpus
--cpuset-mems
-d, --detachNot stored in the container's config
--detach-keysNot stored in the container's config
--device
--device-cgroup-rule
--device-read-bps
--device-read-iops
--device-write-bps
--device-write-iops
--disable-content-trustNot stored in the container's config
--dns
--dns-option
--dns-search
--domainname
--entrypoint
-e, --env
--env-fileMerged with --env in the container config
--expose
--gpusNot sure how to separate from devices
--group-add
--health-cmd
--health-interval
--health-retries
--health-start-interval
--health-start-period
--health-timeout
--help
-h, --hostname
--init
-i, --interactiveNot stored in the container's config
--io-maxbandwidthWindows only?
--io-maxiopsWindows only?
--ipHow to differentiate from default?
--ip6How to differentiate from default?
--ipcUnsure of what the default value should be (varies with Docker version)
--isolation
--kernel-memory
-l, --label
--label-fileMerged with --label in the container config
--linkMarked as Deprecated
--link-local-ipDeprecated and ignored by Docker
--log-driver
--log-opt
--mac-addressHow to differentiate from default?
-m, --memory
--memory-reservation
--memory-swap
--memory-swappiness
--mountWIP
--name
--networkWIP
--network-aliasWIP
--no-healthcheck
--oom-kill-disable
--oom-score-adj
--pid
--pids-limit
--platformNot stored in the container's config
--privileged
-p, --publish
-P, --publish-all
--pullNot stored in the container's config
-q, --quietNot stored in the container's config
--read-only
--restart
--rm
--runtime
--security-opt
--shm-sizeWIP, Cannot find the default value
--sig-proxyNot stored in the container's config
--stop-signal
--stop-timeout
--storage-opt
--sysctl
--tmpfs
-t, --tty
--ulimit
-u, --user
--userns
--uts
-v, --volume
--volume-driver
--volumes-from
-w, --workdir