netbox-docker-plugin
netbox-docker-plugin copied to clipboard
:sparkles: add pause/unpause button in container action
| Netbox version | Plugin Version | Agent version | Docker API Version |
|---|---|---|---|
| 4.* | 2.* | 0.24 | * |
Actual Behavior
It is not possible for the moment to pause/unpause a container
Desired Behavior
| created | restarting | running | paused | exited | dead | none | |
|---|---|---|---|---|---|---|---|
| Create | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ |
| Start | ✅ | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ |
| Stop | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ |
| Restart | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ |
| Recreate | ✅ | ❌ | ✅ | ❌ | ✅ | ✅ | ❌ |
| Delete | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ❌ |
| Kill | ✅ | ✅ | ✅ | ❌ | ❌ | ✅ | ❌ |
| Pause | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ |
| Unpause | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ |
| --- | --- | --- | --- | --- | --- | --- | --- |
| None | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Add button on the container to pause when container is running :
Toggle the button to Unpause when the container is paused :