mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 06:09:17 +00:00
feat(entrypoint): allow to override service ENTRYPOINT for run command
This commit is contained in:
1 parent
e8715fce38
commit
1bbcfa8519
4 files changed
+34
-16
No files matched your search
@@ -67,8 +67,11 @@ func ValidateServiceID(id string) bool {
|
||||
}
|
||||
|
||||
type ContainerSpec struct {
|
||||
// Command overrides the default CMD of the image to be executed when running a container.
|
||||
Command []string
|
||||
Image string
|
||||
// Entrypoint overrides the default ENTRYPOINT of the image.
|
||||
Entrypoint []string
|
||||
Image string
|
||||
// Run a custom init inside the container. If nil, use the daemon's configured settings.
|
||||
Init *bool
|
||||
// List of volumes to bind mount into the container.
|
||||
|
||||
Reference in new issue
Block a user