Docker-compose.yml file that builds a base image, then children based on it?

Yes, kind of. Use it like this: version: ‘2’ services: wls-admin: container_name: wls-admin image: weblogic-domain build: context: wls-admin args: – ADMIN_PORT=${WLS_ADMIN_PORT} – CLUSTER_NAME=${WLS_CLUSTER_NAME} – PRODUCTION_MODE=dev networks: – wls-network image clause here makes docker-compose build generate docker image named weblogic-domain for this service. This image can be re-used by other services’ Dockerfiles, even in the same … Read more

How to stop a deployed docker stack?

You can remove a stack with: docker stack rm vote At present, this is still a detached operation that will take time to run in the background. If for some reason you still want the stack and service definitions, you can scale the “replicated” services down to 0 replicas, and “global” services you can add … Read more

docker stack deploy results in “No such image error”

Already found the solution. My image is hosted on a private repository. Besides the swarm manager (where I executed the commands), I had a running swarm worker. When I ran docker stack deploy -c docker-compose.yml myapp docker deployed the service to the worker node (not the manager node as I thought). At the worker node, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)