File: entrypoint.sh

package info (click to toggle)
docker-buildx 0.13.1%2Bds1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,356 kB
  • sloc: sh: 299; makefile: 87
file content (15 lines) | stat: -rwxr-xr-x 260 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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