Closed katopz closed 8 years ago
Your docker stack has been running, must stop these container before start up by the following command:
docker-compose down
I got
$ docker-compose down
Stopping katopz_parse-dashboard_1 ... done
Stopping katopz_parse-server_1 ... done
Stopping katopz_mongo_1 ... done
Removing katopz_parse-dashboard_1 ... done
Removing katopz_parse-server_1 ... done
Removing katopz_mongo_1 ... done
Removing katopz_mongo-data_1 ... done
Removing katopz_parse-cloud-code_1 ... done
and then up
Creating katopz_parse-cloud-code_1
Creating katopz_mongo-data_1
Creating katopz_mongo_1
Creating katopz_parse-server_1
Creating katopz_git_1
Creating katopz_parse-dashboard_1
ERROR: for git Conflict. The name "/katopz_git_1" is already in use by container 408a1f842001b60eb64e0e8e3408dd57588bab8ebbe6570a02675a84029b157c. You have to remove (or rename) that container to be able to reuse that name.
katopz_git_1
is not start, no log
katopz_mongo-data_1
is not start and get this in log.
Error parsing command line: unrecognised option '--break-mongo'
try 'mongod --help' for more information
BTW, If this only me you can skip this, No worry.
Thanks
How about output of this command?
docker ps
Here it is
$ docker-compose down
Stopping katopz_parse-dashboard_1 ... done
Stopping katopz_parse-server_1 ... done
Stopping katopz_mongo_1 ... done
Removing katopz_parse-dashboard_1 ... done
Removing katopz_parse-server_1 ... done
Removing katopz_mongo_1 ... done
Removing katopz_mongo-data_1 ... done
Removing katopz_parse-cloud-code_1 ... done
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
408a1f842001 yongjhih/parse-server:git "/docker-entrypoint.s" 20 hours ago Up 8 minutes 0.0.0.0:2022->22/tcp katopz_git_1
and up
Creating katopz_parse-cloud-code_1
Creating katopz_mongo-data_1
Creating katopz_mongo_1
Creating katopz_parse-server_1
Creating katopz_parse-dashboard_1
Creating katopz_git_1
ERROR: for git Conflict. The name "/katopz_git_1" is already in use by container 408a1f842001b60eb64e0e8e3408dd57588bab8ebbe6570a02675a84029b157c. You have to remove (or rename) that container to be able to reuse that name.
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e147b93b2249 yongjhih/parse-dashboard "npm run dashboard" 4 seconds ago Up 3 seconds 0.0.0.0:4040->4040/tcp katopz_parse-dashboard_1
49a40db65429 yongjhih/parse-server "npm start" 4 seconds ago Up 3 seconds 0.0.0.0:1337->1337/tcp katopz_parse-server_1
a61dcea41608 mongo "/entrypoint.sh --sma" 5 seconds ago Up 4 seconds 0.0.0.0:27017->27017/tcp katopz_mongo_1
408a1f842001 yongjhih/parse-server:git "/docker-entrypoint.s" 20 hours ago Up 10 minutes 0.0.0.0:2022->22/tcp katopz_git_1
Thanks!
docker-compose down
docker stop katopz_git_1 && docker rm katopz_git_1
docker-compose up
Oh cool. Working now. What's causing this? I mess up some step there maybe? PS : You can close this issue now, sorry for bother. Many thanks for great support!
I think you did not docker-compose down
before docker compose up
again
When reboot my Mac and I run
I got
I think it's not quite right because it should
Starting
instead ofCreating
there. So I've to start it manually as workaround for now. Any thought?Thanks