mirror of https://github.com/tiyn/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
282 B
11 lines
282 B
5 years ago
|
#!/bin/sh
|
||
|
docker stop git-server
|
||
|
docker rm git-server
|
||
|
docker pull jkarlos/git-server-docker:latest
|
||
|
docker run --name git-server \
|
||
|
--restart unless-stopped \
|
||
|
-p 2222:22 \
|
||
|
-v git-server_repos:/git-server/repos \
|
||
|
-v git-server_keys:/git-server/keys \
|
||
|
-d jkarlos/git-server-docker
|