搭建swarm集群(docker v1.12)-Centos7

目標(biāo):在docker v1.12版本搭建swarm集群悼泌,熟悉其用法琳袄,驗證其功能役衡。

環(huán)境:

swarm-manager:192.168.12.190逛艰,centos7.2

swarm-node01:192.168.12.191,centos7.2

軟件版本:

docker:v1.12.0

實施步驟:

1.檢查docker版本

#版本要求>= docker v1.12

[root@swarm-manager ~]# docker version

Client:

Version:? ? ? 1.12.0

API version:? 1.24

Go version:? go1.6.3

Git commit:? 8eab29e

Built:

OS/Arch:? ? ? linux/amd64

Server:

Version:? ? ? 1.12.0

API version:? 1.24

Go version:? go1.6.3

Git commit:? 8eab29e

Built:

OS/Arch:? ? ? linux/amd64

2.部署swarm

2.1部署manager(12.190)

#初始化manager

[root@swarm-manager ~]# docker swarm init --advertise-addr 192.168.12.190

Swarm initialized: current node (9a8h4zctcf4qb0naylgu5bpf5) is now a manager.

To add a worker to this swarm, run the following command:

docker swarm join \

--token SWMTKN-1-0bm6shp8luiko6yyr8f7g130k5gwfwnynomtu2teer1qhnn1h6-7u6rwvasabu3efhdboo1gxk84 \

192.168.12.190:2377

To add a manager to this swarm, run the following command:

docker swarm join \

--token SWMTKN-1-0bm6shp8luiko6yyr8f7g130k5gwfwnynomtu2teer1qhnn1h6-c0fwiq4dm5x3vgsbsyut2quk7 \

192.168.12.190:2377

#查看

[root@swarm-manager ~]# docker info

....

Swarm: active

NodeID: 9a8h4zctcf4qb0naylgu5bpf5

Is Manager: true

ClusterID: d48nl1v887o9b59b9uoe6hfj1

Managers: 1

Nodes: 1

Orchestration:

Task History Retention Limit: 5

Raft:

Snapshot interval: 10000

Heartbeat tick: 1

Election tick: 3

Dispatcher:

Heartbeat period: 5 seconds

CA configuration:

Expiry duration: 3 months

Node Address: 192.168.12.190

....

[root@swarm-manager ~]# docker node ls

ID? ? ? ? ? ? ? ? ? ? ? ? ? HOSTNAME? ? ? STATUS? AVAILABILITY? MANAGER STATUS

9a8h4zctcf4qb0naylgu5bpf5 *? swarm-manager? Ready? Active? ? ? ? Leader

2.2部署node(12.191)

#添加node

root@swarm-node01 ~]#? ? docker swarm join \

--token SWMTKN-1-0bm6shp8luiko6yyr8f7g130k5gwfwnynomtu2teer1qhnn1h6-7u6rwvasabu3efhdboo1gxk84 \

192.168.12.190:2377

This node joined a swarm as a worker.

#查看:

[root@swarm-manager ~]# docker node ls

ID? ? ? ? ? ? ? ? ? ? ? ? ? HOSTNAME? ? ? STATUS? AVAILABILITY? MANAGER STATUS

4u80il22c6r9hp9avzqgbe9yf? ? swarm-node01? Ready? Active

9a8h4zctcf4qb0naylgu5bpf5 *? swarm-manager? Ready? Active? ? ? ? Leader

[root@swarm-manager ~]# docker info

...

Swarm: active

NodeID: 9a8h4zctcf4qb0naylgu5bpf5

Is Manager: true

ClusterID: d48nl1v887o9b59b9uoe6hfj1

Managers: 1

Nodes: 2

....

2.3查看manager和node的token值

可以看到創(chuàng)建manager或者node時需要使用token哀墓,使用如下命令可以列出token趁餐。

#列出manager的token

[root@swarm-manager ~]# docker swarm join-token manager

To add a manager to this swarm, run the following command:

docker swarm join \

--token SWMTKN-1-0bm6shp8luiko6yyr8f7g130k5gwfwnynomtu2teer1qhnn1h6-c0fwiq4dm5x3vgsbsyut2quk7 \

192.168.12.190:2377

#列出node的token

[root@swarm-manager ~]# docker swarm join-token worker

To add a worker to this swarm, run the following command:

docker swarm join \

--token SWMTKN-1-0bm6shp8luiko6yyr8f7g130k5gwfwnynomtu2teer1qhnn1h6-7u6rwvasabu3efhdboo1gxk84 \

192.168.12.190:2377

3.docker servie的使用

#docker service指令

[root@swarm-manager ~]# docker service -h

....

Commands:

create? ? ? Create a new service

inspect? ? Display detailed information on one or more services

ps? ? ? ? ? List the tasks of a service

ls? ? ? ? ? List services

rm? ? ? ? ? Remove a service

scale? ? ? Scale one or multiple services

update? ? ? Update a service

#新建nginx

[root@swarm-manager ~]# docker service create --replicas 1 --name nginx00 nginx

b3n4rdl7dctmi99j2bwcr77wx

#查看

[root@swarm-manager ~]# docker service ls

ID? ? ? ? ? ? NAME? ? REPLICAS? IMAGE? COMMAND

b3n4rdl7dctm? nginx00? 1/1? ? ? nginx

[root@swarm-manager ~]# docker service ps nginx00

ID? ? ? ? ? ? ? ? ? ? ? ? NAME? ? ? IMAGE? NODE? ? ? ? ? DESIRED STATE? CURRENT STATE? ? ? ? ? ERROR

05488zncdeu4fh4l3partfcjn? nginx00.1? nginx? swarm-node01? Running? ? ? ? Running 3 minutes ago

[root@swarm-node01 ~]# docker ps

CONTAINER ID? ? ? ? IMAGE? ? ? ? ? ? ? COMMAND? ? ? ? ? ? ? ? ? CREATED? ? ? ? ? ? STATUS? ? ? ? ? ? ? PORTS? ? ? ? ? ? ? NAMES

342cbfcdfa9b? ? ? ? nginx:latest? ? ? ? "nginx -g 'daemon off"? 4 minutes ago? ? ? Up 4 minutes? ? ? ? 80/tcp, 443/tcp? ? nginx00.1.05488zncdeu4fh4l3partfcjn

#在線擴容

[root@swarm-manager ~]# docker service scale nginx00=2

nginx00 scaled to 2

[root@swarm-manager ~]# docker service ls

ID? ? ? ? ? ? NAME? ? REPLICAS? IMAGE? COMMAND

b3n4rdl7dctm? nginx00? 2/2? ? ? nginx

[root@swarm-manager ~]# docker service ps nginx00

ID? ? ? ? ? ? ? ? ? ? ? ? NAME? ? ? IMAGE? NODE? ? ? ? ? DESIRED STATE? CURRENT STATE? ? ? ? ? ERROR

05488zncdeu4fh4l3partfcjn? nginx00.1? nginx? swarm-node01? Running? ? ? ? Running 11 minutes ago

0m8tj5in3gzzwmkx74chu2u2o? nginx00.2? nginx? swarm-manager? Running? ? ? ? Running 37 seconds ago

#在線縮減

[root@swarm-manager ~]# docker service scale nginx00=0

nginx00 scaled to 0

[root@swarm-manager ~]# docker service ls

ID? ? ? ? ? ? NAME? ? REPLICAS? IMAGE? COMMAND

b3n4rdl7dctm? nginx00? 0/0? ? ? nginx

[root@swarm-manager ~]# docker service ps nginx00

ID? ? ? ? ? ? ? ? ? ? ? ? NAME? ? ? IMAGE? NODE? ? ? ? ? DESIRED STATE? CURRENT STATE? ? ? ? ? ? ERROR

05488zncdeu4fh4l3partfcjn? nginx00.1? nginx? swarm-node01? Shutdown? ? ? Shutdown 15 seconds ago

0m8tj5in3gzzwmkx74chu2u2o? nginx00.2? nginx? swarm-manager? Shutdown? ? ? Shutdown 14 seconds ago

#刪除service

[root@swarm-manager ~]# docker service ls

ID? ? ? ? ? ? NAME? ? REPLICAS? IMAGE? COMMAND

b3n4rdl7dctm? nginx00? 1/1? ? ? nginx

[root@swarm-manager ~]# docker service rm nginx00

nginx00

[root@swarm-manager ~]# docker service ls

ID? NAME? REPLICAS? IMAGE? COMMAND

#滾動升級

[root@swarm-manager ~]# docker service create --replicas 2 --name tomcat00 tomcat:6

7akh1a171jqdbnumewa8d7iwr

[root@swarm-manager ~]# docker service ls

ID? ? ? ? ? ? NAME? ? ? REPLICAS? IMAGE? ? COMMAND

7akh1a171jqd? tomcat00? 2/2? ? ? tomcat:6

[root@swarm-manager ~]# docker service ps tomcat00

ID? ? ? ? ? ? ? ? ? ? ? ? NAME? ? ? ? IMAGE? ? NODE? ? ? ? ? DESIRED STATE? CURRENT STATE? ? ? ? ? ? ? ERROR

dhnfyn0tjjgbi5sefscya6yrc? tomcat00.1? tomcat:6? swarm-manager? Running? ? ? ? Running about a minute ago

0wy7zcpjh17ny1cm7wohx3to6? tomcat00.2? tomcat:6? swarm-node01? Running? ? ? ? Running 20 seconds ago

[root@swarm-manager ~]# docker service update --image tomcat:7 tomcat00

tomcat00

[root@swarm-manager ~]# docker service ls

ID? ? ? ? ? ? NAME? ? ? REPLICAS? IMAGE? ? COMMAND

7akh1a171jqd? tomcat00? 2/2? ? ? tomcat:7

[root@swarm-manager ~]# docker service ps tomcat00

ID? ? ? ? ? ? ? ? ? ? ? ? NAME? ? ? ? ? ? IMAGE? ? NODE? ? ? ? ? DESIRED STATE? CURRENT STATE? ? ? ? ? ? ? ? ERROR

cltwnjh8c6l0w5wi8u4rk6pei? tomcat00.1? ? ? tomcat:7? swarm-manager? Running? ? ? ? Running 30 seconds ago

dhnfyn0tjjgbi5sefscya6yrc? \_ tomcat00.1? tomcat:6? swarm-manager? Shutdown? ? ? Shutdown about a minute ago

bf6l3wi3f3rhj5g59u6zo4n7o? tomcat00.2? ? ? tomcat:7? swarm-node01? Running? ? ? ? Running about a minute ago

0wy7zcpjh17ny1cm7wohx3to6? \_ tomcat00.2? tomcat:6? swarm-node01? Shutdown? ? ? Shutdown about a minute ago

4.網(wǎng)絡(luò)

4.1容器間的互通

#默認(rèn)網(wǎng)橋

[root@swarm-manager ~]# docker network ls

NETWORK ID? ? ? ? ? NAME? ? ? ? ? ? ? ? DRIVER? ? ? ? ? ? ? SCOPE

1a7673941702? ? ? ? bridge? ? ? ? ? ? ? bridge? ? ? ? ? ? ? local

6fbc212201c6? ? ? ? docker_gwbridge? ? bridge? ? ? ? ? ? ? local

f427b46c5246? ? ? ? host? ? ? ? ? ? ? ? host? ? ? ? ? ? ? ? local

7fter2mqj5zf? ? ? ? ingress? ? ? ? ? ? overlay? ? ? ? ? ? swarm

3f067508d7fc? ? ? ? none? ? ? ? ? ? ? ? null? ? ? ? ? ? ? ? local

新建service(不帶-p參數(shù))使用name=bridge網(wǎng)橋;

新建service(帶-p參數(shù))使name=ingress網(wǎng)橋篮绰。

容器間互通需使用overlay模式后雷,所以新建一個overlay的網(wǎng)橋。

#新建network[root@swarm-manager ~]# docker network create -d overlay? --subnet 10.254.0.0/16 --gateway? 10.254.0.1 test00dvhjl166f2hejlps2rd4a43pq#新建tomcat01和tomcat02[root@swarm-manager ~]# docker service create --replicas 2 --name tomcat01? --network test00 tomcat:72c1qs8gwmlk6w3ujos122m31m[root@swarm-manager ~]# docker service create --replicas 2 --name tomcat02? --network test00 tomcat:77v97krliu5g5lj0awe2kqk2yy[root@swarm-manager ~]# docker service lsID? ? ? ? ? ? NAME? ? ? REPLICAS? IMAGE? ? COMMAND2c1qs8gwmlk6? tomcat01? 2/2? ? ? tomcat:7? 7v97krliu5g5? tomcat02? 2/2? ? ? tomcat:7? [root@swarm-manager ~]# docker service ps tomcat01ID? ? ? ? ? ? ? ? ? ? ? ? NAME? ? ? ? IMAGE? ? NODE? ? ? ? ? DESIRED STATE? CURRENT STATE? ? ? ? ? ERROR69xfelfbq1j684fg3dxhxvbwx? tomcat01.1? tomcat:7? swarm-manager? Running? ? ? ? Running 12 minutes ago? 9ul1julgkhox5c00m0dws1adz? tomcat01.2? tomcat:7? swarm-node01? Running? ? ? ? Running 12 minutes ago? [root@swarm-manager ~]# docker service ps tomcat02ID? ? ? ? ? ? ? ? ? ? ? ? NAME? ? ? ? IMAGE? ? NODE? ? ? ? ? DESIRED STATE? CURRENT STATE? ? ? ? ? ERROR1wgmjm1g5lh85yiswwnnvy3i9? tomcat02.1? tomcat:7? swarm-node01? Running? ? ? ? Running 59 seconds ago? 6iybysdoove9qtbd0qzgqfnbd? tomcat02.2? tomcat:7? swarm-manager? Running? ? ? ? Running 58 seconds ago? #查看容器信息[root@swarm-manager ~]# docker psCONTAINER ID? ? ? ? IMAGE? ? ? ? ? ? ? COMMAND? ? ? ? ? ? CREATED? ? ? ? ? ? ? STATUS? ? ? ? ? ? ? PORTS? ? ? ? ? ? ? NAMESf7468890b410? ? ? ? tomcat:7? ? ? ? ? ? "catalina.sh run"? About a minute ago? Up About a minute? 8080/tcp? ? ? ? ? ? tomcat01.1.69xfelfbq1j684fg3dxhxvbwx[root@swarm-manager ~]# docker exec -ti f7468890b410 bashroot@f7468890b410:/usr/local/tomcat# ip add1: lo:mtu 65536 qdisc noqueue state UNKNOWN group default? ? link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00? ? inet 127.0.0.1/8 scope host lo? ? ? valid_lft forever preferred_lft forever? ? inet6 ::1/128 scope host? ? ? ? valid_lft forever preferred_lft forever48: eth0@if49:mtu 1450 qdisc noqueue state UP group default? ? link/ether 02:42:0a:fe:00:03 brd ff:ff:ff:ff:ff:ff? ? inet 10.254.0.3/16 scope global eth0? ? ? valid_lft forever preferred_lft forever? ? inet 10.254.0.2/32 scope global eth0? ? ? valid_lft forever preferred_lft forever? ? inet6 fe80::42:aff:fefe:3/64 scope link? ? ? ? valid_lft forever preferred_lft forever50: eth1@if51:mtu 1500 qdisc noqueue state UP group default

link/ether 02:42:ac:12:00:03 brd ff:ff:ff:ff:ff:ff

inet 172.18.0.3/16 scope global eth1

valid_lft forever preferred_lft forever

inet6 fe80::42:acff:fe12:3/64 scope link

valid_lft forever preferred_lft forever

root@f7468890b410:/usr/local/tomcat# more /etc/hosts

127.0.0.1? ? ? localhost

::1? ? localhost ip6-localhost ip6-loopback

fe00::0 ip6-localnet

ff00::0 ip6-mcastprefix

ff02::1 ip6-allnodes

ff02::2 ip6-allrouters

10.254.0.3? ? ? f7468890b410

172.18.0.3? ? ? f7468890b410

root@f7468890b410:/usr/local/tomcat# more /etc/resolv.conf

nameserver 127.0.0.11

options ndots:0

root@f7468890b410:/usr/local/tomcat# ping tomcat01

PING tomcat01 (10.254.0.2): 56 data bytes

64 bytes from 10.254.0.2: icmp_seq=0 ttl=64 time=0.088 ms

root@f7468890b410:/usr/local/tomcat# ping tomcat02

PING tomcat02 (10.254.0.5): 56 data bytes

64 bytes from 10.254.0.5: icmp_seq=0 ttl=64 time=0.259 ms

#swarm集群,使用容器內(nèi)部的dns解析servie的name

4.2外部訪問容器

測試過程中發(fā)現(xiàn)臀突,當(dāng)–replicas=1勉抓,只有容器所在宿主機端口可以被訪問,不知道是不是swarm集群的bug候学。

#新建tomcat03 --replicas=1

[root@swarm-manager ~]# docker service ls

ID? NAME? REPLICAS? IMAGE? COMMAND

[root@swarm-manager ~]# docker service create --replicas 1 --name tomcat03 -p 30030:8080 tomcat:7

6yv4xi2pevzn33yiby9l78e7p

[root@swarm-manager ~]# docker service ls

ID? ? ? ? ? ? NAME? ? ? REPLICAS? IMAGE? ? COMMAND

6yv4xi2pevzn? tomcat03? 1/1? ? ? tomcat:7

[root@swarm-manager ~]# docker service ps tomcat03

ID? ? ? ? ? ? ? ? ? ? ? ? NAME? ? ? ? IMAGE? ? NODE? ? ? ? ? DESIRED STATE? CURRENT STATE? ? ? ? ? ERROR

8iox4mb1v0of7igsh631w8v4o? tomcat03.1? tomcat:7? swarm-node01? Running? ? ? ? Running 10 seconds ago

[root@swarm-manager ~]# curl 192.168.12.190:30030

curl: (7) Failed connect to 192.168.12.190:30030; Connection refused

[root@swarm-manager ~]# curl 192.168.12.191:30030

...

....

#scale tomcat03=2,此時因2個宿主機均有容器藕筋,測試正常。

[root@swarm-manager ~]# docker service scale tomcat03=2

tomcat03 scaled to 2

[root@swarm-manager ~]# docker service ps tomcat03

ID? ? ? ? ? ? ? ? ? ? ? ? NAME? ? ? ? IMAGE? ? NODE? ? ? ? ? DESIRED STATE? CURRENT STATE? ? ? ? ? ERROR

8iox4mb1v0of7igsh631w8v4o? tomcat03.1? tomcat:7? swarm-node01? Running? ? ? ? Running 5 minutes ago

f3d6n57uyea4vxu4gp6ndgcz8? tomcat03.2? tomcat:7? swarm-manager? Running? ? ? ? Running 29 seconds ago

[root@swarm-manager ~]# curl 192.168.12.190:30030

...

...

[root@swarm-manager ~]# curl 192.168.12.191:30030

...

...

#非swarm主機訪問tomcat03梳码,也可以隐圾。

[root@k8s-node02 ~]# curl 192.168.12.191:30030

...

...

5.node的管理

#docker node指令

[root@swarm-manager ~]# docker node -h

...

Commands:

demote? ? ? Demote a node from manager in the swarm

inspect? ? Display detailed information on one or more nodes

ls? ? ? ? ? List nodes in the swarm

promote? ? Promote a node to a manager in the swarm

rm? ? ? ? ? Remove a node from the swarm

ps? ? ? ? ? List tasks running on a node

update? ? ? Update a node

5.1node去激活(drain)

#查看狀態(tài)

[root@swarm-manager ~]# docker node ls

ID? ? ? ? ? ? ? ? ? ? ? ? ? HOSTNAME? ? ? STATUS? AVAILABILITY? MANAGER STATUS

4u80il22c6r9hp9avzqgbe9yf? ? swarm-node01? Ready? Active

9a8h4zctcf4qb0naylgu5bpf5 *? swarm-manager? Ready? Active? ? ? ? Leader

[root@swarm-manager ~]# docker service ps tomcat03

ID? ? ? ? ? ? ? ? ? ? ? ? NAME? ? ? ? IMAGE? ? NODE? ? ? ? ? DESIRED STATE? CURRENT STATE? ? ? ? ? ERROR

7shjqfybdy385r9jy5i29x8oa? tomcat03.1? tomcat:7? swarm-manager? Running? ? ? ? Running 9 minutes ago

33n5lucts3b3hdyzhfh2pte4i? tomcat03.2? tomcat:7? swarm-node01? Running? ? ? ? Running 1 seconds ago

#node去激活

[root@swarm-manager ~]# docker node update --availability drain swarm-node01

swarm-node01

#去激活后查看狀態(tài)

[root@swarm-manager ~]# docker node ls

ID? ? ? ? ? ? ? ? ? ? ? ? ? HOSTNAME? ? ? STATUS? AVAILABILITY? MANAGER STATUS

4u80il22c6r9hp9avzqgbe9yf? ? swarm-node01? Ready? Drain

9a8h4zctcf4qb0naylgu5bpf5 *? swarm-manager? Ready? Active? ? ? ? Leader

[root@swarm-manager ~]# docker service ps tomcat03

ID? ? ? ? ? ? ? ? ? ? ? ? NAME? ? ? ? ? ? IMAGE? ? NODE? ? ? ? ? DESIRED STATE? CURRENT STATE? ? ? ? ? ? ERROR

7shjqfybdy385r9jy5i29x8oa? tomcat03.1? ? ? tomcat:7? swarm-manager? Running? ? ? ? Running 11 minutes ago

5f6y6vikdf32kfvgtgibemkwb? tomcat03.2? ? ? tomcat:7? swarm-manager? Running? ? ? ? Preparing 9 seconds ago

33n5lucts3b3hdyzhfh2pte4i? \_ tomcat03.2? tomcat:7? swarm-node01? Shutdown? ? ? Shutdown 10 seconds ago

#可以看到node01的容器,自動遷移到了manager

#激活node

[root@swarm-manager ~]# docker node update --availability active swarm-node01

swarm-node01

[root@swarm-manager ~]# docker node ls

ID? ? ? ? ? ? ? ? ? ? ? ? ? HOSTNAME? ? ? STATUS? AVAILABILITY? MANAGER STATUS

4u80il22c6r9hp9avzqgbe9yf? ? swarm-node01? Ready? Active

9a8h4zctcf4qb0naylgu5bpf5 *? swarm-manager? Ready? Active? ? ? ? Leader

5.2node角色的升級和降級(promote/demote)

#查看狀態(tài)

[root@swarm-manager ~]# docker node ls

ID? ? ? ? ? ? ? ? ? ? ? ? ? HOSTNAME? ? ? STATUS? AVAILABILITY? MANAGER STATUS

4u80il22c6r9hp9avzqgbe9yf? ? swarm-node01? Ready? Active

9a8h4zctcf4qb0naylgu5bpf5 *? swarm-manager? Ready? Active? ? ? ? Leader

#node角色提升

[root@swarm-manager ~]# docker node promote swarm-node01

Node swarm-node01 promoted to a manager in the swarm.

[root@swarm-manager ~]# docker node ls

ID? ? ? ? ? ? ? ? ? ? ? ? ? HOSTNAME? ? ? STATUS? AVAILABILITY? MANAGER STATUS

4u80il22c6r9hp9avzqgbe9yf? ? swarm-node01? Ready? Active? ? ? ? Reachable

9a8h4zctcf4qb0naylgu5bpf5 *? swarm-manager? Ready? Active? ? ? ? Leader

#node角色降級

[root@swarm-manager ~]# docker node demote swarm-node01

Manager swarm-node01 demoted in the swarm.

[root@swarm-manager ~]# docker node ls

ID? ? ? ? ? ? ? ? ? ? ? ? ? HOSTNAME? ? ? STATUS? AVAILABILITY? MANAGER STATUS

4u80il22c6r9hp9avzqgbe9yf? ? swarm-node01? Ready? Active

9a8h4zctcf4qb0naylgu5bpf5 *? swarm-manager? Ready? Active? ? ? ? Leader

via:http://www.pangxie.space/docker/1061

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末边翁,一起剝皮案震驚了整個濱河市翎承,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌符匾,老刑警劉巖叨咖,帶你破解...
    沈念sama閱讀 206,482評論 6 481
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場離奇詭異啊胶,居然都是意外死亡甸各,警方通過查閱死者的電腦和手機,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,377評論 2 382
  • 文/潘曉璐 我一進店門焰坪,熙熙樓的掌柜王于貴愁眉苦臉地迎上來趣倾,“玉大人,你說我怎么就攤上這事某饰∪辶担” “怎么了?”我有些...
    開封第一講書人閱讀 152,762評論 0 342
  • 文/不壞的土叔 我叫張陵黔漂,是天一觀的道長诫尽。 經(jīng)常有香客問我,道長炬守,這世上最難降的妖魔是什么牧嫉? 我笑而不...
    開封第一講書人閱讀 55,273評論 1 279
  • 正文 為了忘掉前任,我火速辦了婚禮减途,結(jié)果婚禮上酣藻,老公的妹妹穿的比我還像新娘。我一直安慰自己鳍置,他們只是感情好辽剧,可當(dāng)我...
    茶點故事閱讀 64,289評論 5 373
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著税产,像睡著了一般怕轿。 火紅的嫁衣襯著肌膚如雪坊夫。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 49,046評論 1 285
  • 那天撤卢,我揣著相機與錄音,去河邊找鬼梧兼。 笑死放吩,一個胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的羽杰。 我是一名探鬼主播渡紫,決...
    沈念sama閱讀 38,351評論 3 400
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼考赛!你這毒婦竟也來了惕澎?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 36,988評論 0 259
  • 序言:老撾萬榮一對情侶失蹤颜骤,失蹤者是張志新(化名)和其女友劉穎唧喉,沒想到半個月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體忍抽,經(jīng)...
    沈念sama閱讀 43,476評論 1 300
  • 正文 獨居荒郊野嶺守林人離奇死亡八孝,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 35,948評論 2 324
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發(fā)現(xiàn)自己被綠了鸠项。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片干跛。...
    茶點故事閱讀 38,064評論 1 333
  • 序言:一個原本活蹦亂跳的男人離奇死亡,死狀恐怖祟绊,靈堂內(nèi)的尸體忽然破棺而出楼入,到底是詐尸還是另有隱情,我是刑警寧澤牧抽,帶...
    沈念sama閱讀 33,712評論 4 323
  • 正文 年R本政府宣布嘉熊,位于F島的核電站,受9級特大地震影響阎姥,放射性物質(zhì)發(fā)生泄漏记舆。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點故事閱讀 39,261評論 3 307
  • 文/蒙蒙 一呼巴、第九天 我趴在偏房一處隱蔽的房頂上張望泽腮。 院中可真熱鬧,春花似錦衣赶、人聲如沸诊赊。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,264評論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽碧磅。三九已至碘箍,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間鲸郊,已是汗流浹背丰榴。 一陣腳步聲響...
    開封第一講書人閱讀 31,486評論 1 262
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留秆撮,地道東北人四濒。 一個月前我還...
    沈念sama閱讀 45,511評論 2 354
  • 正文 我出身青樓,卻偏偏與公主長得像职辨,于是被迫代替她去往敵國和親盗蟆。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 42,802評論 2 345

推薦閱讀更多精彩內(nèi)容

  • 目錄 概述 創(chuàng)建和管理Swarm集群 Swarm集群的服務(wù)部署實踐 1. 概述 Docker Swarm是原生的D...
    garyond閱讀 13,169評論 0 23
  • 我家妞妞一歲半左右開始一邊玩土一邊跟著讀簡單的唐詩舒裤,那時妞妞的積極性可高了喳资,經(jīng)常一個人自言自語。 憫農(nóng) 鋤禾日當(dāng)午...
    我家妞妞媽閱讀 223評論 0 0
  • 我以前從稻盛和夫的活法里面學(xué)到腾供,需要把事情考慮得萬全才能下手去做仆邓,而更多的書卻講有7成把握就去做。所以我經(jīng)常用這兩...
    佐江閱讀 269評論 0 0
  • 雖然紐約有各式各樣的派對、活動黎侈、戲劇察署、書籍、餐廳峻汉,可它也許是世界上最令人感到孤獨的地方贴汪。 ...
    簡故說閱讀 385評論 0 3