Docker swarm - creating a service with a specific share memory requirement or constraint.


Docker swarm - creating a service with a specific share memory requirement or constraint.

sudo docker service create --replicas 1 -p 10000:8080 -p 11000:55555 --reserve-memory=2g --env username_admin_globalaccesslevel=admin --env username_admin_password=admin  --mount type=tmpfs,dst=/dev/shm,tmpfs-size=1000000000 --name=solace_swarm solace/solace-pubsub-standard

Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type