Once you have installed Docker on your deployment (production) host, you can set up your StrongLoop Process Manager to "Dockerize" apps deployed to it.
Running PM as a service
To install StrongLoop PM service so that it automatically converts deployed applications into Docker images and installs them in the Docker Engine running on your deployment system, use this command:
Then run the StrongLoop PM service, using the command appropriate for the type of Linux system on the server; see:
Now, when you deploy an app to StrongLoop PM on this server, your app will be turned into a Docker image and then run in a Docker container.
Running PM as a transient process
To run StrongLoop PM as a transient process (for example, for testing or staging), use the
slc pm command instead:
Now, as long as this StrongLoop PM is still running, when you deploy an app to it, the app will be turned into a Docker image and then run in a Docker container.