You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
buildx/hack/demo-env/entrypoint.sh

16 lines
260 B
Bash

#!/bin/sh
dockerdCmd="dockerd -s overlay2 -D"
export DOCKER_BUILDKIT=1
if [ -n "$TMUX_ENTRYPOINT" ]; then
tmux new -s demo -d
tmux new-window "$dockerdCmd"
tmux new-window
tmux a -t demo
else
( $dockerdCmd &>/var/log/dockerd.log & )
exec ash
fi