You can use the sloppy restart command to restart a specific application.

In case one of your applications has frozen, restarting it might help to get it up and running again. This will kill the current container and launch a new one running the latest image version of the application.

Usage

To restart an application with the sloppy restart command, you’ll need to provide the application’s path as an argument, like this:

$ sloppy restart [OPTIONS] MyProjectName/MyServiceName/MyAppName

Restart

$ sloppy restart wordpress/frontend/apache
Restarting app

Options

The following options will work in conjunction with the sloppy restart command.

--help 

Show help for command.

Output

Once you have executed the sloppy restart command, it will return a message when your application was successfully restarted.

Here is an example output:

$ sloppy restart wordpress/frontend/apache
Restarting app

Did this answer your question?