zoukankan      html  css  js  c++  java
  • Docker 常用容器

    portainer

    docker run -d -p 9000:9000 --restart=always --name portainer -v /var/run/docker.sock:/var/run/docker.sock -v ~/portainer_data:/data
    docker.io/portainer/portainer
    

    oracle 12c

    docker run -d -p 8080:8080 -p 5500:5500 -p 1521:1521 -v /home/gugu/oradata:/u01/app/oracle --name oracle-base mritschel/oracle12cr2_base
    

    查看日志:

    docker logs oracle-base
    

    进入系统:

    docker exec -it oracle-base /bin/bash
    

    GitLab

    docker run --detach 
    --hostname 192.168.1.10 
    --publish 444:443 --publish 93:80 --publish 23:22 
    --name gitlab 
    --restart always 
    --volume /home/gitlab/config:/etc/gitlab 
    --volume /home/gitlab/logs:/var/log/gitlab 
    --volume /home/gitlab/data:/var/opt/gitlab 
    --volume /etc/localtime:/etc/localtime 
    gitlab/gitlab-ce:latest
    

    Jenkins

    docker run -itd -p 9090:8080 -p 50000:50000 
    --name jenkins 
    --restart always 
    --privileged=true 
    --volume /home/jenkins:/var/jenkins_home 
    jenkins
    
  • 相关阅读:
    springmvc
    POJ 3683 Priest John's Busiest Day
    POJ 3678 Katu Puzzle
    HDU 1815 Building roads
    CDOJ UESTC 1220 The Battle of Guandu
    HDU 3715 Go Deeper
    HDU 3622 Bomb Game
    POJ 3207 Ikki's Story IV
    POJ 3648 Wedding
    HDU 1814 Peaceful Commission
  • 原文地址:https://www.cnblogs.com/manastudent/p/12264228.html
Copyright © 2011-2022 走看看