Why rancher service disconnected sometimes?

I used Rancher to deploy a Rails application.

I created two services. One used for install node packages and db migration. The other one used for Rails application.

  • How to run docker-compose with php-fpm and php-cli?
  • How to dockerize my new VPS server?
  • How do I get the container ID of a non-running container?
  • Cant connect to postgres docker container in docker compose
  • How to find css/js files on a server for specified application that uses docker
  • Why does docker build not use the build cache?
  • The second service works well. But the first one sometimes disconnected. So it is necessary to install the node packages again. It’s crazy!

    The services are:

    • a. myapp_setup service: sometimes disconnected
    • b. myapp service: works well
    • c. postgres service: works well

    a depends on c. b depends on a and c.

  • Docker Container Microsoft/iis Username and Password
  • error while setting file capabilities in Docker
  • docker golang API ContainerList fails with TLS
  • combining cloudbees ec2 docker image with docker in docker
  • .Net - Pushing logs from web application to Docker container running Fluentd
  • Docker Architecture for a test server
  • One Solution collect form web for “Why rancher service disconnected sometimes?”

    disconnected is not one of the possible states for a Service so I’m not sure what you mean. Are you talking about the Host(s) the Service is running on? Hosts have a disconnected state, which means the agent container on it does not have an active connection to the rancher/server container.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.