m-tmatma / yocto-raspberry-pi

yocto for raspberry pi
0 stars 0 forks source link

Fedora 30 (docker) #19

Open m-tmatma opened 5 years ago

m-tmatma commented 5 years ago

Fedora 30 (docker)

sudo dnf install -y docker
sudo systemctl start  docker
sudo systemctl enable docker
m-tmatma commented 5 years ago

gitbucket

docker pull gitbucket/gitbucket
m-tmatma commented 5 years ago
sudo mkdir -p /var/lib/gitbucket
sudo docker run -d -p 8080:8080 -v /var/lib/gitbucket:/gitbucket gitbucket/gitbucket
m-tmatma commented 5 years ago

以下だと動く

sudo docker run -d -p 8080:8080 gitbucket/gitbucket
m-tmatma commented 5 years ago
docker exec -it influxdb bash

influxdb は名前

m-tmatma commented 5 years ago
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
m-tmatma commented 5 years ago
sudo firewall-cmd --add-port=8000/tcp --permanent
sudo firewall-cmd --reload
sudo docker run -d -p 8000:8080 jenkins/jenkins