在centos7上部署nodejs应用 包含了git的安装
java安装方法的链接和maven的安装方法
How To Set Up Jenkins for Continuous Development Integration on CentOS 7
https://www.digitalocean.com/community/tutorials/how-to-edit-the-sudoers-file-on-ubuntu-and-centos
jenkins执行docker命令遇到权限问题时,可将jenkisn用户加入docker组
sudo usermod -aG docker Jenkins
When running docker ps
and receiving:
An error occurred trying to connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json: open //./pipe/docker_engine: The system cannot find the file specified.
The following environment properties need to be set:
set DOCKER_CERT_PATH=%USERPROFILE%.docker\machine\machines\default
set DOCKER_HOST=tcp://192.168.99.100:2376
set DOCKER_MACHINE_NAME=default
set DOCKER_TLS_VERIFY=1
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.100:2376"
export DOCKER_CERT_PATH="${USERPROFILE}.docker\machine\machines\default"
export DOCKER_MACHINE_NAME="default"
This is assuming the %USERPROFILE%.docker\machine\machines\default
is default path where the cert.pem
, key.pem
, ca-key.pem
, and ca.pem
docker files are; the virtual machine name's (created by docker-machine create
) is default
and Virtual Box DHCP Server's lower bound (found under VirtualBox->File->Preferences->Network->Host-only Networks->hover mouse on VirtualBox Host-Only Ethernet Adapter) is 192.168.99.100 and no other VM is running in VirtualBox.