Most Popular

1500 questions
26
votes
3 answers

Difference between chroot and Docker

I don't understand the difference between docker and chroot. Yes its nice in terms of the packaging the registry. But somehow I get the feeling its just chroot with extra bells and whistles. I know I'm missing something. It'd would be great to know…
Vipin Menon
  • 473
  • 1
  • 4
  • 7
26
votes
4 answers

Ansible: Other option available for telnet check of open ports?

I'm new to Ansible. Here's my task ... I have 400+ hosts, and I need to verify if 5 different ports are open from their end to our web server. Individually, I could log in and run: telnet mywebserver.com 443 telnet mywebserver.com 80 telnet…
AWhitaker
  • 371
  • 1
  • 3
  • 5
26
votes
6 answers

How to prohibit access to internals of Docker container?

I want to deliver my app to customers in form of docker image. But it is crucial to ensure that end-user do not alter anything inside the container. User should only be able to run/stop the container and interact with the container via network. Is…
Victor Mezrin
  • 361
  • 1
  • 3
  • 5
26
votes
5 answers

How can I experiment with Cloud (Azure, AWS, Google, etc) without going broke?

Cloud technologies are very hot right now, but they can be expensive. What are the best strategies for learning/trying cloud services without racking up a huge bill?
Dave Swersky
  • 4,068
  • 2
  • 21
  • 33
25
votes
5 answers

Copy multiple files using * wildcard from kubernetes container

I have several files named out1, out2, ... in my Kubernetes container. I want to copy them to my local computer. I am using: $ kubectl cp pod:/path/out* . But I am getting an error: tar: Removing leading `/' from member names tar:…
user674669
  • 355
  • 1
  • 3
  • 6
25
votes
6 answers

Jenkins Health Check URL

I'm planning to supervise services by periodically checking if they are up and running, Jenkins is our central orchestration tool and must be running with near zero downtime. How can I check health status of a Jenkins server - By health status I…
storm
  • 1,759
  • 3
  • 16
  • 34
25
votes
2 answers

How to examine Jinja output in Saltstack?

I have a templated SLS in Salt I'm trying to build, but it's emitting invalid syntax, which is resulting in errors such as: my-minion-id: - State 'system' in SLS 'network' is not formed as a list In principle, it should be possible to, somehow…
Michael Mol
  • 1,045
  • 1
  • 8
  • 19
24
votes
6 answers

What could be a valid definition of DevOps to introduce it to a novice?

I've done / created lots of SCM related presentations, and now I'm trying to "upgrade" to a DevOps successor of it. What I always try to do in my presentations, is to come up with an introduction slide which somehow includes the message I want to…
Pierre.Vriens
  • 7,225
  • 14
  • 39
  • 84
24
votes
2 answers

What Is SecOps?

First when I heard the word SecOps, I thought of it as a management approach that aims to connect security and operations teams, in much the same way that DevOps unifies developers and operations team. But isn't security just a piece of the DevOps…
storm
  • 1,759
  • 3
  • 16
  • 34
24
votes
1 answer

How do I use docker command's "--format" option?

I can't seem to find any good documentation on how to use the docker command's "--format" option in real life. I know how to use Go templates. But specific to docker, how do I know what placeholders are available to use? I tried docker inspect on a…
Todd Walton
  • 434
  • 1
  • 4
  • 13
24
votes
3 answers

What are possible implementations (or examples) of the four-eyes principle?

Michael Grünewald recently posted this comment: A very important method you do not mention is the “four-eyes principle” which is used in the finance – either as a regulatory obligation or as a safe-guard. In the software industry it is implemented…
Pierre.Vriens
  • 7,225
  • 14
  • 39
  • 84
24
votes
4 answers

How to get rid of develop branch for simplified Git flow

In a continuously developed web project (not a product) we currently have the following branching strategy, roughly based on git flow: develop branch: latest working version master branch: version to be released / released version feature branches:…
Fabian Schmengler
  • 485
  • 1
  • 4
  • 11
24
votes
2 answers

error: error loading config file "/etc/rancher/k3s/k3s.yaml": open /etc/rancher/k3s/k3s.yaml: permission denied

When I run commands under k3s kubectl, I get $ k3s kubectl version WARN[0000] Unable to read /etc/rancher/k3s/k3s.yaml, please start server with --write-kubeconfig-mode to modify kube config permissions error: error loading config file…
Evan Carroll
  • 2,921
  • 6
  • 37
  • 85
24
votes
3 answers

Running a background process in Pipeline job

I am looking for a way to run a java process in background using Jenkins declarative pipeline. Below is the snippet of code stage('Deploy'){ steps{ script{ withEnv(['BUILD_ID=dontkill']) { sh…
Dharanidhar
  • 701
  • 2
  • 5
  • 10
23
votes
2 answers

Is it possible to upgrade Jenkins from Jenkins it-self?

On Manage Jenkins I've a message that: New version of Jenkins (2.47) is available for download (changelog). Is there any way of upgrading Jenkins from the GUI similar as it's done for the plugins? I'm using Jenkins ver. 2.43 on Linux.
kenorb
  • 8,011
  • 14
  • 43
  • 80