Skip to content

Commit 7b18100

Browse files
authored
Merge pull request #22882 from aevesdocker/ENGDOCS-2753
Compose: Spec attribute
1 parent 9f855d1 commit 7b18100

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/reference/compose-file/services.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2019,6 +2019,12 @@ ulimits:
20192019
hard: 40000
20202020
```
20212021

2022+
### `use_api_socket`
2023+
2024+
When `use_api_socket` is set, the container is able to interact with the underlying container engine through the API socket.
2025+
Your credentials are mounted inside the container so the container acts as a pure delegate for your commands relating to the container engine.
2026+
Typically, commands ran by container can `pull` and `push` to your registry.
2027+
20222028
### `user`
20232029

20242030
`user` overrides the user used to run the container process. The default is set by the image, for example Dockerfile `USER`. If it's not set, then `root`.

0 commit comments

Comments
 (0)