Update readme

This commit is contained in:
folex 2019-09-19 16:28:58 +03:00
parent 5f95f518f3
commit 077e91ac67
2 changed files with 35 additions and 31 deletions

View File

@ -119,27 +119,31 @@ by default. Maximum caution when enabling these.
#### Not always needed #### Not always needed
You will possibly need to grant access to some of these API sections, which are You will possibly need to grant access to some of these API sections, which
not so extremely critical but can expose some information that your service can expose some information that your service does not need.
does not need.
- `BUILD` | GET | POST |
- `COMMIT` |:---------------|:----------------------|
- `CONFIGS` | `BUILD` | `ALLOW_RESTARTS` |
- `CONTAINERS` | `COMMIT` | `CONTAINERS_PRUNE` |
- `DISTRIBUTION` | `CONFIGS` | `CONTAINERS_CREATE` |
- `EXEC` | `CONTAINERS` | `CONTAINERS_RESIZE` |
- `IMAGES` | `DISTRIBUTION` | `CONTAINERS_START` |
- `INFO` | `EXEC` | `CONTAINERS_UPDATE` |
- `NETWORKS` | `IMAGES` | `CONTAINERS_RENAME` |
- `NODES` | `INFO` | `CONTAINERS_PAUSE` |
- `PLUGINS` | `NETWORKS` | `CONTAINERS_UNPAUSE` |
- `SERVICES` | `NODES` | `CONTAINERS_ATTACH` |
- `SESSION` | `PLUGINS` | `CONTAINERS_WAIT` |
- `SWARM` | `SERVICES` | `CONTAINERS_EXEC` |
- `SYSTEM` | `SESSION` | `VOLUMES_CREATE` |
- `TASKS` | `SWARM` | `VOLUMES_PRUNE` |
- `VOLUMES` | `SYSTEM` | `NETWORKS_CREATE` |
| `TASKS` | `NETWORKS_PRUNE` |
| `VOLUMES` | `NETWORKS_CONNECT` |
| | `NETWORKS_DISCONNECT` |
`ALLOW_RESTARTS` allows to `kill`, `stop` and `restart` containers
## Logging ## Logging