0

将 docker 容器部署到 CoreOS 时遇到问题。请注意以下事项

~CED_HOME/ » fleetctl status example.service                                    
Job example.service does not exist.

~CED_HOME/ » fleetctl submit example.service                                    
Failed creating job example.service: job already exists

~CED_HOME/ » fleetctl destroy example.service                                   
Destroyed Job example.service

~CED_HOME/ » fleetctl submit example.service                                    

~CED_HOME/ » fleetctl start example.service                                     
Failed creating job example.service: job already exists

~CED_HOME/ » fleetctl destroy example.service                                   
Destroyed Job example.service

~CED_HOME/ » fleetctl submit example.service                                    

~CED_HOME/ » fleetctl start example.service                                     
Failed creating job example.service: job already exists

~CED_HOME/ » fleetctl status example.service 
Job cedregistry.service does not exist.

服务(容器)不存在,但是提交表示它存在,销毁它,很好,现在我们可以提交,然后启动,但同样的错误,再次通过销毁提交,但同样的问题。

有人知道可能出了什么问题吗?

4

1 回答 1

0

事实证明,我运行的是旧版本的fleetctl,升级到最新版本的github,它运行良好。

于 2014-09-05T14:21:54.763 回答