first commit
This commit is contained in:
commit
e7410994a3
67 changed files with 5154 additions and 0 deletions
24
docker-setup/Alpine/alpine-docker.sh
Executable file
24
docker-setup/Alpine/alpine-docker.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
###########################################
|
||||
# Setup Docker in Alpine with this Script #
|
||||
###########################################
|
||||
|
||||
# Adds the community repo
|
||||
sh -c 'echo "http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/" >> /etc/apk/repositories'
|
||||
|
||||
# Updates apk to include the new repo we just add
|
||||
echo "Time to Update"
|
||||
apk -qq update
|
||||
|
||||
# Just as it says, it installs Docker to the Machine
|
||||
echo "Currently installing Docker"
|
||||
apk add -qq docker
|
||||
|
||||
# This section adds Docker dameon to boot
|
||||
echo "Enabling Docker at Boot"
|
||||
rc-update add docker boot
|
||||
|
||||
# This starts the Docker daemon
|
||||
echo "Starting Docker"
|
||||
service docker start
|
||||
Loading…
Add table
Add a link
Reference in a new issue