Most Popular
1500 questions
6
votes
1 answer
Volumes Not Mounting with Docker-Compose
I'm trying to run a SQL Server Database in a container and have been unable to mount a volume using docker-compose. I am able to persist data using docker run, however.
SETUP
docker volume ls
DRIVER VOLUME NAME
local …
David Thompson
- 63
- 1
- 1
- 4
6
votes
2 answers
How to trim spaces for parameter value in jenkins pipeline?
I am using jenkins pipeline job with parameters. when i had any trailing spaces in parameter value the job gets failed. is there any way to trim the spaces in pipeline job to avoid build failure?
Naik
- 101
- 2
- 2
- 5
6
votes
1 answer
Where does CircleCI-2.0 store the ssh private keys?
Aim
To deploy docker container using ansible using CircleCI-2.0.
Method
A private key has been created and added using the CircleCI-2.0 UI.
.circle/config.yml
version: 2
jobs:
build:
docker:
- image: ubuntu:xenial
working_directory:…
030
- 13,235
- 16
- 74
- 173
6
votes
2 answers
Autoscaling containers using local request counters
Somewhere around I got to know about different approaches which were used to scale our webapp which included Scaling using local request counters. Below that they had written the drawbacks of this approach adding that
Each instance would reach the…
radbrawler
- 257
- 2
- 5
6
votes
2 answers
Update ECS task definition with new image from ECR
I have an ECS cluster/service/task definition using an image from my ECR repository.
Let's say I update the image with a new version, will ECS pick the changes automatically?
Do I need to modify the task definition?
Do I need to somehow…
aromero
- 211
- 2
- 8
6
votes
1 answer
Continuous Integraton using Jenkins Pipeline for a .NET project
The project:
A .NET standalone application consisting in:
The main application that is a Windows Service containing a web server used for the web interface. Project is 90% .NET (Framework, Standard and Core) plus a few C++ libraries
Windows Agents…
Cosmin
- 169
- 2
- 5
6
votes
3 answers
Why trigger something remotely (using Jenkins) and then just forget about it?
When using Jenkins to trigger some process (eg a remote build) at a remote location, why would you ever want to "fire" something, and then just "forget" about the outcome of what got triggered remotely? At least that is what "fire and forget" seems…
Pierre.Vriens
- 7,205
- 14
- 37
- 84
6
votes
2 answers
Is Continuous Delivery the Control Framework for DevOps?
I've been reading Jim Bird's DevOpsSec book, one of the statements in Chapter 4 - Security as Code is as follows:
Agile ideas and principles—working software over documentation, frequent delivery, face-to-face collaboration, and a focus on…
Richard Slater
- 11,612
- 6
- 41
- 81
6
votes
2 answers
Securing communication between cloud VMs without private networks. Any strategy besides building own VPN? Spiped?
I am working on an application that requires a number of different services (web application + database + worker queues, XMPP server for messaging, redis, central authentication via LDAP, etc). For my first attempt at designing the thing, I am…
lullis
- 161
- 1
6
votes
1 answer
Multiple levels of parallel stages in a Jenkins declarative pipeline
I need to define a declarative pipeline with multiple levels of parallel stages as such:
1 Prebuild_action1
2 Prebuild_action2
3.1 Build platform_1
4.1 Test1 platform_1
4.2 Test2 platform_1
4.3 Test3 platform_1
3.2 Build platform_2
3.3…
Brian
- 61
- 1
- 1
- 2
6
votes
2 answers
How should CI/CD deploy to production environment - copy artifacts or git pull from the server?
We have an internal CI/CD server running private GitLab. It has the source code of our NodeJS project. We would like to run CI/CD and have it deploys to our on-premises production server. (Let's assume we are using the master branch).
Here are two…
Lawrence Choy
- 186
- 3
6
votes
1 answer
Is it necessary to specify resource in S3 Bucket Policies?
Is it necessary to specify a resource attribute within the statements that make up an S3 bucket policy? The Access Policy Language Overview seems to suggest that the resource attribute is always included, though it doesn't come straight out and say…
Nic
- 351
- 1
- 3
- 12
6
votes
1 answer
How to create replicas in docker-compose when `scale` is deprecated?
According to docker-compose issue #5586, scale is deprecated. The replacement is deploy.replicas but that latter is not handled by docker-compose, only by docker stack implying you have to run Docker in swarm mode.
As alternate solutions, you can…
Sylvain Leroux
- 1,550
- 1
- 13
- 25
6
votes
0 answers
Blackbox testing vs openbox testing applications in a containerized environment
We use containers to deploy our Node.js applications. But currently, the development and a good share of testing is done by the developers on their own host system and thus using different versions of the tools (notably Node.js itself, NPM, and…
Sylvain Leroux
- 1,550
- 1
- 13
- 25
6
votes
3 answers
In a Dockerfile, is there a way to avoid copying files to make them accessible to the RUN command?
I need to build a Docker image containing a pre-populate a database.
For now, I am using the following commands in our Dockerfile:
COPY db-dump.gz /tmp
RUN zcat /tmp/db-dump.gz | mysql
But is there a way to achieve the same result without copying…
Sylvain Leroux
- 1,550
- 1
- 13
- 25