mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update get.docker.io install script for single-binary
This commit is contained in:
parent
a216712f3c
commit
e81d7132fa
1 changed files with 2 additions and 2 deletions
4
install.sh → contrib/install.sh
Normal file → Executable file
4
install.sh → contrib/install.sh
Normal file → Executable file
|
@ -38,14 +38,14 @@ fi
|
|||
echo "Downloading docker binary and uncompressing into /usr/local/bin..."
|
||||
curl -s http://get.docker.io/builds/$(uname -s)/$(uname -m)/docker-master.tgz |
|
||||
tar -C /usr/local/bin --strip-components=1 -zxf- \
|
||||
docker-master/docker docker-master/dockerd
|
||||
docker-master/docker
|
||||
|
||||
if [ -f /etc/init/dockerd.conf ]
|
||||
then
|
||||
echo "Upstart script already exists."
|
||||
else
|
||||
echo "Creating /etc/init/dockerd.conf..."
|
||||
echo "exec /usr/local/bin/dockerd" > /etc/init/dockerd.conf
|
||||
echo "exec /usr/local/bin/docker -d" > /etc/init/dockerd.conf
|
||||
fi
|
||||
|
||||
echo "Starting dockerd..."
|
Loading…
Add table
Reference in a new issue