You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`post_start`defines a sequence of lifecycle hooks to run after a container has started. The exact timing of when the command is run is not guaranteed.
1511
1513
1512
-
- `command`: The command to run after the container has started. This attribute is required.
1514
+
- `command`: Specifies the command to run once the container starts. This attribute is required, and you can choose to use either the shell form or the exec form.
1513
1515
- `user`: The user to run the command. If not set, the command is run with the same user as the main service command.
1514
1516
- `privileged`: Lets the `post_start` command run with privileged access.
1515
1517
- `working_dir`: The working directory in which to run the command. If not set, it is run in the same working directory as the main service command.
0 commit comments