10 lines
258 B
Bash
10 lines
258 B
Bash
|
#!/bin/bash -e
|
||
|
|
||
|
# Install Docker using default installation script
|
||
|
# and perform post-install steps to not require
|
||
|
# sudo for docker commands
|
||
|
echo "Installing docker..."
|
||
|
on_chroot << EOF
|
||
|
curl -sSL get.docker.com | sh
|
||
|
usermod -aG docker ${FIRST_USER_NAME}
|
||
|
EOF
|