32 Matching Annotations
- Dec 2024
-
docs.mattermost.com docs.mattermost.com
-
Without using the included NGINX: sudo docker compose -f docker-compose.yml -f docker-compose.without-nginx.yml up -d
-
- Dec 2022
-
www.docker.com www.docker.com
-
Docker Desktop is an easy-to-install application and includes Docker Engine, Docker CLI client, Docker Compose, Docker Content Trust, Kubernetes, and Credential Helper
-
-
docs.docker.com docs.docker.com
-
Compose V2 has been re-written in Go, which improves integration with other Docker command-line features, and allows it to run natively on macOS on Apple silicon, Windows, and Linux, without dependencies such as Python.
-
Introduction of the Compose specification makes a clean distinction between the Compose YAML file model and the docker-compose implementation.
-
-
github.com github.com
-
# Due to lack of "expressivity" in Compose, we define our own couple of service # "pseudo-types": # # - image-only services (name: *-image) # # The only goal of these is to build images. No other services build images. # # These have entrypoint overridden to exit immediately. # # - base services (name: *-base) # # These contain common configuration and are intended to be extended. # # Their command (not entrypoint, to keep the original one) is overridden to # exit immediately. Service must support a command to exit immediately. # # - task services (name: *-task) # # These are intended for running one-off commands. # # Their default command is overridden to exit immediately. Service must # support a command to exit immediately. # # - "real" services # # These are actual services that stay up and running.
Tags
Annotators
URL
-
-
www.digitalocean.com www.digitalocean.com
-
While a full dive into container orchestration is beyond the scope of this article, two prominent players are Docker with Docker Compose and Docker Swarm mode, and Kubernetes. In roughly order of complexity, Docker Compose is a container orchestration solution that deals with multi-container deployments on a single host. When there are multiple hosts involved, Docker Swarm mode is required.
-
- Aug 2022
-
www.jianshu.com www.jianshu.com
-
docker-compose搭建kong和konga,开箱即用
kong
Tags
Annotators
URL
-
- Jul 2022
-
stackoverflow.com stackoverflow.com
-
It is "guaranteed" as long as you are on the default network. 172.17.0.1 is no magic trick, but simply the gateway of the network bridge, which happens to be the host. All containers will be connected to bridge unless specified otherwise.
-
- Aug 2021
-
docs.docker.com docs.docker.com
-
docker compose up
Deploy to AWS with docker compose.
Tags
Annotators
URL
-
- Jul 2021
-
medium.com medium.com
-
there is a drawback, docker-compose runs on a single node which makes scaling hard, manual and very limited. To be able to scale services across multiple hosts/nodes, orchestrators like docker-swarm or kubernetes comes into play.
- docker-compose runs on a single node (hard to scale)
- docker-swarm or kubernetes run on multiple nodes
-
We had to build the image for our python API every-time we changed the code, we had to run each container separately and manually insuring that out database container is running first. Moreover, We had to create a network before hand so that we connect the containers and we had to add these containers to that network and we called it mynet back then. With docker-compose we can forget about all of that.
Things being resolved by a docker-compose
-
- Nov 2020
-
-
On a user-defined bridge network, containers can resolve each other by name or alias.But, The containers on the default bridge network can only access each other by IP addresses, unless you use the --link option, which is considered legacy.
-
- Oct 2020
-
github.com github.com
-
Certs have been working well with docker cli to remote docker server.
-
-
-
github.com github.com
-
I debugged docker-compose and docker-py and figured out that you should either use environment variables or options in command. You should not mix these . If you even specify --tls in command then you will have to specify all the options as the TLSConfig object, as now TLSConfig object is created completely from the command options and operide the TFSConfig object created from the environment variable.
-
-
github.com github.com
-
To be clear: this setup works great with just docker daemon, but something about -compose is amiss.
-
Using the docker client I have good success accessing the remote docker server. We call the remote server up to a hundred thousand times a day with good success. Attempting to use docker-compose, installed either via curl OR pip install --upgrade with python 2.7, we get an SSL error:
-
-
github.com github.com
-
docker --tlsverify ps executes just fine, while docker-compose --tlsverify up -d --force-recreate gives me an error: SSL error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
-
I only have one set of certs. And I can't see how they can be different because docker commands work using the endpoint. It's just the docker-compose command that fails
-
docker-compose command you can not mix environment variable and command option. You can specify setting in env variable and then just use docker-compose ps. The connection will be secured with TLS protocol if DOCKER_TLS_VERIFY variable is set.
-
You dont need to pass --tls or --tlsverify option in the docker-config path as the task already sets DOCKER_TSL_VERIFY environment varaible. I debugged docker-compose and docker-py library and verified that if you pass any flag --tls or --tlsverify flag it tries to create tslConfig object out of options and not from environment
-
- Apr 2020
-
superuser.com superuser.com
-
docker-compose rm -f -s -v yourService
useful commands for launching a single service in a docker-compose file without running it in the background so you can see the logs:
docker-compose rm -fsv service docker-compose up service
-
- Jan 2020
-
blog.cspub.net blog.cspub.net
-
But the reason is that, if your host system does not have the vm.overcommit_memory=1 enabled, you will not be able to switch it inside container.
Fixed redis issue on harbor: "Can't save in background: fork: Cannot allocate memory"
Added on /root/harbor/docker-compose.yml:
command: sh -c 'echo 1 > /proc/sys/vm/overcommit_memory'
Also executed command: sh -c 'echo 1 > /proc/sys/vm/overcommit_memory' on the main server harbor (not only on the container)
Tags
Annotators
URL
-
- Nov 2019
-
www.reddit.com www.reddit.com
Tags
Annotators
URL
-
- Oct 2019
- Dec 2017
-
docs.docker.com docs.docker.com
- Sep 2017
-
docs.docker.com docs.docker.com
-
Note: When mapping ports in the HOST:CONTAINER format, you may experience erroneous results when using a container port lower than 60, because YAML will parse numbers in the format xx:yy as sexagesimal (base 60). For this reason, we recommend always explicitly specifying your port mappings as strings.
Cool feature
Tags
Annotators
URL
-
- Jan 2017
-
www.joyent.com www.joyent.com
- Dec 2016
-
blog.toast38coza.me blog.toast38coza.me