Closed efenfauzi closed 2 years ago
It's been a while I dabbled with swarm, but have a look here: https://serverfault.com/questions/824516/how-to-set-linux-capabilities-on-docker-swarm-mode-service-invocations there is a solution to run a container directly on the host in the comments.
@efenfauzi Did you solve this? security_opt
seems to be part of the latest spec, as is devices
. Don't they work with docker stack deploy
?
Closing this in lack of response
From docs say its posible running on swarm enviroment. I have 2 node with active swarm joined. Simplest trial is running container service with
docker service create --env bla blah blah --constraint node
And i still confuse from file
docker-compose.yml
with :this no option when run with docker container. My plan just simple, I want to try this s3 container service on swarm mode.
Example :