docker pull jenkins/jenkins:lts or docker pull jenkins/jenkins
docker run -p 8080:8080 -d jenkins/jenkins
docker exec jenkins cat /var/jenkins_home/secrets/initialAdminPassword
attach Attach local standard input, output, and error streams to a running container
build Build an image from a Dockerfile
commit Create a new image from a container's changes
cp Copy files/folders between a container and the local filesystem
create Create a new container
diff Inspect changes to files or directories on a container's filesystem
events Get real time events from the server
exec Run a command in a running container
export Export a container's filesystem as a tar archive
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
sudo systemctl status docker
sudo usermod -aG docker ${USER}
package ies | |
import scala.collection.mutable.ArrayBuffer | |
object Main { | |
def main(args: Array[String]): Unit = { | |
println("Hello World"); | |
//Byte |