Pulse isn’t in the stores yet. This documentation describes the app as it will ship. Notify me at launch ›
Restart a container
Restart an app’s container or Compose service from Pulse. The feature is off by default. You turn it on at the server, and each restart asks for your confirmation.
With Pulse Agent, from the Free plan. On iPhone, iPad, Mac and Android.
Only two actions exist, the equivalents of docker restart <container> and docker compose restart <service>. Pulse Agent must already be running on the server.
Turn it on at the server#
The app can’t turn restarts on. They need a setting on the server.
- In the Compose
.env, addPULSE_AGENT_ACTIONS=1. - Add the lines below to your
docker-compose.yml. They create a second proxy that allows restarts only, and the first stays read-only. - Run
docker compose up -d.
services: pulse-agent: environment: PULSE_AGENT_ACTIONS: ${PULSE_AGENT_ACTIONS:-0} PULSE_ACTIONS_DOCKER_HOST: tcp://pulse-restart-proxy:2375 depends_on: [pulse-socket-proxy, pulse-restart-proxy] pulse-restart-proxy: image: tecnativa/docker-socket-proxy:v0.5.0 restart: unless-stopped environment: POST: 1 ALLOW_RESTARTS: 1 DISABLE_IPV6: 1 volumes: - /var/run/docker.sock:/var/run/docker.sock:ro networks: [pulse-socket]Link an app to its target#
- Open the app, then App Settings.
- Under Restart, open Container or Service.
- Choose under Compose Services or Containers. The list comes from the agent’s latest report.
The app must be attached to the server, and you must be able to manage that server. Sharing an app gives no control over the other containers.
Restart#
- On the app’s page, in the Restart card, choose Restart.
- Confirm. The app will be unavailable for a few seconds.
- Authenticate, then follow the status in the card until Restarted at ….
Authentication is Face ID, Touch ID or the passcode on iPhone and iPad, Touch ID or the password on Mac, and fingerprint or code on Android. A restart is refused on a locked device, even when started by Siri or Shortcuts. Each restart is recorded in the card’s History, with its source.
How the command arrives, with no open port#
- With each report, the agent says whether restarts are on. If a report doesn’t say, Pulse treats them as off.
- The agent asks every 15 seconds if there’s a command. A command not picked up within 2 minutes expires.
- It checks the name, restarts the target, then returns the result, which is either success or a short code, never Docker’s raw text.
If it doesn’t work#
| Message in the app | What to do |
|---|---|
| Install Pulse Agent on this app’s server to be able to restart it. | Install Pulse Agent. |
| Restarts are off on this server: add PULSE_AGENT_ACTIONS=1 to Pulse Agent’s .env. | Check the .env and that the variable reaches the agent, then docker compose up -d. |
| Pulse Agent has stopped reporting on this server. | No report for 15 minutes. Check docker compose logs pulse-agent. |
| Docker refused: the restart proxy is missing on the server. | PULSE_ACTIONS_DOCKER_HOST is missing or points to the read-only proxy, or the proxy lacks POST: 1 and ALLOW_RESTARTS: 1. |
| Not found on the server: choose the target again in the settings. | The container changed name, or the service no longer has a container. |
| Pulse Agent didn’t pick up the command in time. | The agent has stopped picking up commands. Check docker compose logs pulse-agent. |
In the agent’s logs, PULSE_AGENT_ACTIONS ignored means DOCKER_HOST is missing, and restarts need it.
- Pulse Agent
Installing and securing the probe.
- Siri and Shortcuts
Start a restart by voice.
Still missing an answer? Contact support