Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itfl-service-public
gitlab-template
Commits
84764358
Commit
84764358
authored
Jan 31, 2017
by
Martin Mai
Browse files
misc
parent
515f3d8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker-install
0 → 100644
View file @
84764358
#!/bin/bash
COMPOSE_VERSION
=
1.8.1
apt-get update
-qq
echo install
deps
apt-get
install
-yqq
apt-transport-https ca-certificates curl
echo install
gpg key
apt-key adv
--keyserver
hkp://p80.pool.sks-keyservers.net:80
--recv-keys
58118E89F3A912897C070ADBF76221572C52609D
echo
add apt repo
echo
"deb https://apt.dockerproject.org/repo debian-jessie main"
|
tee
/etc/apt/sources.list.d/docker.list
#echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | tee /etc/apt/sources.list.d/docker.list
echo install
engine
apt-get update
-qq
apt-get
install
-yq
docker-engine
echo install
docker-compose
curl
-sL
https://github.com/docker/compose/releases/download/
${
COMPOSE_VERSION
}
/docker-compose-
`
uname
-s
`
-
`
uname
-m
`
>
/usr/local/bin/docker-compose
chmod
+x /usr/local/bin/docker-compose
#alias dps='docker ps --format="table{{.ID}}\t{{.Image}}\t{{.RunningFor}}\t{{.Status}}\t{{.Names}}"'
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment