docker-compose

Airflow writes and reads from S3 successfully but won't load S3 logs on docker-compose up

老子叫甜甜 提交于 2020-05-17 07:39:09
问题 I'm using puckle's airflow docker (github link) with docker-compose-LocalExecutor. The project is deployed through CI/CD on EC2 instance so my airflow doesn't run on a persistent server. ( Every push on master it gets launched afresh ). I know i'm losing some great features but in my setup everything is configured by bash script and/or enviroment variables. My setup is similiar to this answer setup: Similar setup answer I'm running on version 1.10.6 , so the old method of adding config/__init

Restart mutiple Docker Containers using Ansible not happening

倾然丶 夕夏残阳落幕 提交于 2020-05-17 06:58:46
问题 I am trying to restart my docker containers one by one for a particular image using Ansible but it doesn't seem to be happening. Below is my yml and what it is doing is exiting the current running container. --- - name: restart app servers hosts: shashank-VM connection: local become: yes become_method: sudo tasks: - name: Get info on the Container shell: docker ps | awk '/{{ item }}/{print $1}' register: list_of_containers with_items: - ubuntu - name: Restart Docker Service docker_container:

Error establish a database connection docker compose

只愿长相守 提交于 2020-05-17 06:54:08
问题 I am trying to setup wordpress with docker . I have included my yaml file below. Here I have set my mariadb_database to db_tyre. When I hit docker-compose up -d , it is creating all the required files of wordpress. This is also creating db_tyre database but when I try localhost:8000, it gives me Error establishing a database connection . I have checked the wp-config.php file, it has following lines. define( 'DB_NAME', 'wordpress'); /** MySQL database username */ define( 'DB_USER', 'wordpress'

installed the docker from binaries + docker startup

非 Y 不嫁゛ 提交于 2020-05-17 05:56:07
问题 we installed the docker from binaries as the following ( according to https://docs.docker.com/engine/install/binaries/ ) wget https://download.docker.com/linux/static/stable/x86_64/docker-17.03.0-ce.tgz --2020-05-06 20:39:22-- https://download.docker.com/linux/static/stable/x86_64/docker-17.03.0-ce.tgz Resolving download.docker.com (download.docker.com)... 13.225.249.16, 13.225.249.45, 13.225.249.106, ... Connecting to download.docker.com (download.docker.com)|13.225.249.16|:443... connected.

Using DevOps pipelines to create distribution bundles of applications

99封情书 提交于 2020-05-16 22:39:26
问题 We want to create bundles of our applications in order to distribute to clients etc. An application can have more than one component. Ex: an application can have a spring server and a scheduler so in order to distribute this application both jars will have to be given to the client. We want to use Docker/Docker compose to accomplish this. Ex: we give a client a bundle containing a Docker compose file, and they just run docker-compose up to start the application. We currently have a Jenkins

Using DevOps pipelines to create distribution bundles of applications

こ雲淡風輕ζ 提交于 2020-05-16 22:38:31
问题 We want to create bundles of our applications in order to distribute to clients etc. An application can have more than one component. Ex: an application can have a spring server and a scheduler so in order to distribute this application both jars will have to be given to the client. We want to use Docker/Docker compose to accomplish this. Ex: we give a client a bundle containing a Docker compose file, and they just run docker-compose up to start the application. We currently have a Jenkins

Using DevOps pipelines to create distribution bundles of applications

元气小坏坏 提交于 2020-05-16 22:38:07
问题 We want to create bundles of our applications in order to distribute to clients etc. An application can have more than one component. Ex: an application can have a spring server and a scheduler so in order to distribute this application both jars will have to be given to the client. We want to use Docker/Docker compose to accomplish this. Ex: we give a client a bundle containing a Docker compose file, and they just run docker-compose up to start the application. We currently have a Jenkins

docker-compose up command return code upon run completion is always ZERO

[亡魂溺海] 提交于 2020-05-15 05:19:19
问题 docker-compose return code upon run completion is always ZERO [nlakshmi@ROSE02T44GUH03Q database]$ docker-compose up Recreating database_database_1 ... done Attaching to database_database_1 database_1 | + mkdir -p -m 0755 /opt/adp/logs/db_tester/rpm/installs/ database_1 | + '[' -z abcd ']' database_1 | + /root/bin/generateDBConfigData_FromManifest.sh abcd database_1 | /tmp/manifest_02042019_143116.txt: line 1: syntax error near unexpected token `<' database_1 | /tmp/manifest_02042019_143116

docker-compose up command return code upon run completion is always ZERO

你。 提交于 2020-05-15 05:16:16
问题 docker-compose return code upon run completion is always ZERO [nlakshmi@ROSE02T44GUH03Q database]$ docker-compose up Recreating database_database_1 ... done Attaching to database_database_1 database_1 | + mkdir -p -m 0755 /opt/adp/logs/db_tester/rpm/installs/ database_1 | + '[' -z abcd ']' database_1 | + /root/bin/generateDBConfigData_FromManifest.sh abcd database_1 | /tmp/manifest_02042019_143116.txt: line 1: syntax error near unexpected token `<' database_1 | /tmp/manifest_02042019_143116

Errno 13 while running docker-compose up

让人想犯罪 __ 提交于 2020-05-15 05:01:28
问题 I'm building an application using django and I wanted to add docker to this project. I'm trying to run sudo docker-compose up Which gives me this output: ERROR: .IOError: [Errno 13] Permission denied: './docker-compose.yml' I checked the permissions using GUI. Everything is fine. I'm trying to run my app from an mounted drive. I also tested it on other drives. The only drive this problem does not appear is my main drive running Ubuntu 18.04. Looking forward to some answers 回答1: adding the