首次安装成功。但是,重新安装它,总是失败。
使用docker-compose install AWX
{
"message": "Hello from AWS IoT console"
}
错误
ansible-playbook -i inventory install.yml
我删除了所有可能的资源
TASK [local_docker : Start the containers] *******************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "errors": [], "module_stderr": "Creating awx_postgres ... \nCreating awx_memcached ... \nCreating awx_redis ... \n\u001b[2A\u001b[2K\nCreating awx_memcached ... \n\u001b[2B\u001b[3A\u001b[2K\nCreating awx_postgres ... \n\u001b[3B\u001b[1A\u001b[2K\nCreating awx_redis ... \n\u001b[1BCreating awx_web ... \nHost is already in use by another container\n\u001b[1A\u001b[2K\nCreating awx_web ... \n\u001b[1B", "module_stdout": "", "msg": "Error starting project Encountered errors while bringing up the project."}
再次安装它仍然出现相同的错误。
答案 0 :(得分:1)
列出所有正在运行的容器并找到您的容器
Docker ps
删除
Docker rm -f container_id
再次启动(docker run ...,或使用docker-compose)