加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

docker 批量处理命令

发布时间:2020-12-16 03:50:26 所属栏目:安全 来源:网络整理
导读:table class="text" tr class="li1" td class="ln"pre class="de1"1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 >/var/lib/boot2docker/profile"?docker-machine ss
<tr class="li1">
<td class="ln"><pre class="de1">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

>/var/lib/boot2docker/profile" ? docker-machine ssh default sudo sed -i "s|EXTRA_ARGS='|EXTRA_ARGS='--registry-mirror=http://a1c8c16e.m.daocloud.io |g" /var/lib/boot2docker/profile exit docker-machine restart default apt-get update apt-get install vim stun 3478 turn 5766 3478 3479 https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ ? docker commit ? ? --author "yunnysunny" ? ? --message "install stunserver finished" ? ? udp ? ?yunnysunny/stunserver -o docker run -d -p 3478:3478 -p 5766:5766 -p 3478:3478/udp -p 5766:5766/udp --name udpserver --rm ?yunnysunny/stunserver docker run -i -t -p 3478:3478 -p 5766:5766 --name udp -v /c/Users/sunny/Downloads:/tmp yunnysunny/stunserver /bin/bash ? docker run -i -t -p 3478:3478 -p 5766:5766 --name udp -v /data:/data centos /bin/bash ? docker run -d -p 9999:8888 -p 9999:8888/udp --name webrtc kurento/kurento-media-server docker run ?-d -p 8888:8888 --name webrtc --net=host 2a84mjft.mirror.aliyuncs.com/kurento/kurento-media-server ? mklink /j "C:Userssunnyaddone" "e:kuaipancodeaddone" ? docker run -i -t ?--name node6 -v /c/Users/sunny/cadd:/data mhart/alpine-node:6 /bin/sh ? ? Configure Docker to start on boot Most current Linux distributions (RHEL,CentOS,Fedora,Ubuntu 16.04 and higher) use systemd to manage which services start when the system boots. Ubuntu 14.10 and below use upstart. ? systemd $ sudo systemctl enable docker To disable this behavior,use disable instead. ? $ sudo systemctl disable docker If you need to add an HTTP Proxy,set a different directory or partition for the Docker runtime files,or make other customizations,see customize your systemd Docker daemon options. ? upstart Docker is automatically configured to start on boot using upstart. To disable this behavior,use the following command: ? $ echo manual | sudo tee /etc/init/docker.override chkconfig $ sudo chkconfig docker on(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

<table class="text">

    推荐文章
      热点阅读