Open m-tmatma opened 5 years ago
gitbucket
docker pull gitbucket/gitbucket
sudo mkdir -p /var/lib/gitbucket
sudo docker run -d -p 8080:8080 -v /var/lib/gitbucket:/gitbucket gitbucket/gitbucket
以下だと動く
sudo docker run -d -p 8080:8080 gitbucket/gitbucket
docker exec -it influxdb bash
influxdb は名前
docker volume create --name gitbucket
https://docs.docker.com/storage/volumes/
→ /var/lib/docker/volumes/gitbucket/
にボリューム gitbucket 作成
sudo firewall-cmd --add-port=8080/tcp --permanent
sudo firewall-cmd --reload
ボリューム gitbucket を指定して起動
sudo docker run -d -p 8080:8080 -v gitbucket:/gitbucket gitbucket/gitbucket
sudo firewall-cmd --add-port=8000/tcp --permanent
sudo firewall-cmd --reload
sudo docker run -d -p 8000:8080 jenkins/jenkins
Fedora 30 (docker)