docker無法開啟下如何匯出容器到另一台 - Linux

By Carol
at 2019-01-02T21:44
at 2019-01-02T21:44
Table of Contents
如同標題,
先描述 Server 上開啟 docker 遇到的問題,
環境是 CentOS-7.6.1810,
前幾天重開機,docker 就開不起來,
使用 systemd 開啟,下的指令是:
systemctl start docker
但卻回報我如下錯誤:
Authorization not available.
Check if polkit service is running or see debug message for more information.
於是我先確認 polkit.service 的 status,結果如下圖:
https://i.imgur.com/AbQyHw1.png
此外使用 sudo 下指令也跑得比往常還慢,不知是否也跟此服務有關(也重開機幾次了)
由於上述問題還在 debug 當中(若有有解的大大還煩請開示一下了),
所以現在考慮將該 Server 上的 container 轉移到其他台 Server 上,
已知 docker 有 export 跟 save 可做匯出,
可是目前的問題是 docker 服務跑不起來,不知該如何下手,
目前搜尋的關鍵字差不多是 export docker image offline 之類的,
不過沒有找到滿意的解答,
此部分也想請教各位大大會怎麼下關鍵字,
目前已試過將 /var/lib/docker/containers 下該容器的目錄,
打包到其他台機器對應的路徑,仍是沒有成功(該台機器下 ps -a 沒有出現該容器)
請問還有其他方法可以轉移容器嗎?
先描述 Server 上開啟 docker 遇到的問題,
環境是 CentOS-7.6.1810,
前幾天重開機,docker 就開不起來,
使用 systemd 開啟,下的指令是:
systemctl start docker
但卻回報我如下錯誤:
Authorization not available.
Check if polkit service is running or see debug message for more information.
於是我先確認 polkit.service 的 status,結果如下圖:
https://i.imgur.com/AbQyHw1.png
此外使用 sudo 下指令也跑得比往常還慢,不知是否也跟此服務有關(也重開機幾次了)
由於上述問題還在 debug 當中(若有有解的大大還煩請開示一下了),
所以現在考慮將該 Server 上的 container 轉移到其他台 Server 上,
已知 docker 有 export 跟 save 可做匯出,
可是目前的問題是 docker 服務跑不起來,不知該如何下手,
目前搜尋的關鍵字差不多是 export docker image offline 之類的,
不過沒有找到滿意的解答,
此部分也想請教各位大大會怎麼下關鍵字,
目前已試過將 /var/lib/docker/containers 下該容器的目錄,
打包到其他台機器對應的路徑,仍是沒有成功(該台機器下 ps -a 沒有出現該容器)
請問還有其他方法可以轉移容器嗎?
Tags:
Linux
All Comments

By Carol
at 2019-01-06T21:41
at 2019-01-06T21:41

By Annie
at 2019-01-11T15:24
at 2019-01-11T15:24

By Andrew
at 2019-01-14T19:29
at 2019-01-14T19:29

By Kumar
at 2019-01-17T22:17
at 2019-01-17T22:17

By Candice
at 2019-01-21T10:33
at 2019-01-21T10:33

By Ethan
at 2019-01-25T23:34
at 2019-01-25T23:34

By Robert
at 2019-01-26T15:30
at 2019-01-26T15:30

By Ursula
at 2019-01-27T11:14
at 2019-01-27T11:14

By Oliver
at 2019-01-27T20:02
at 2019-01-27T20:02

By Hardy
at 2019-01-29T11:00
at 2019-01-29T11:00

By Kumar
at 2019-01-30T05:17
at 2019-01-30T05:17

By Ursula
at 2019-02-04T03:57
at 2019-02-04T03:57

By Emma
at 2019-02-06T04:17
at 2019-02-06T04:17

By Andy
at 2019-02-10T10:51
at 2019-02-10T10:51

By Leila
at 2019-02-13T14:56
at 2019-02-13T14:56

By Hedda
at 2019-02-18T09:53
at 2019-02-18T09:53

By Blanche
at 2019-02-20T11:59
at 2019-02-20T11:59

By Bennie
at 2019-02-22T18:25
at 2019-02-22T18:25

By Frederic
at 2019-02-26T13:30
at 2019-02-26T13:30

By Anthony
at 2019-02-28T11:51
at 2019-02-28T11:51

By David
at 2019-03-03T00:02
at 2019-03-03T00:02

By Eartha
at 2019-03-04T20:31
at 2019-03-04T20:31

By Erin
at 2019-03-05T03:58
at 2019-03-05T03:58
Related Posts
求救 ubuntu 16.04 selenium exception

By Lily
at 2018-12-29T18:13
at 2018-12-29T18:13
telegram-cli 中文輸入?

By Elma
at 2018-12-27T20:16
at 2018-12-27T20:16
無法安裝需要的套件?

By Genevieve
at 2018-12-27T12:40
at 2018-12-27T12:40
ubuntu 14.04 complie C 問題

By Liam
at 2018-12-27T11:29
at 2018-12-27T11:29
VLAN tag over Internet如何才能達成?

By Zanna
at 2018-12-27T01:21
at 2018-12-27T01:21