Web tool to experiment with the shell.
The type command allows us to find out if a command is built-in the bash:
cesar@minion3:~$ type ls ls is aliased to `ls --color=auto' cesar@minion3:~$ type cd cd is a shell builtin cesar@minion3:~$ type which which is /usr/bin/which cesar@minion3:~$ type type type is a shell builtin
This piece of information might be useful when writing Dockerfiles, as we sometime need to know if a sub-shell will be spawned.
Syntax highlighting with Drupal, CKeditor, and Geshi filters
As you may have noticed, we are using a syntax highlighting plugin, to increase code visibility. Installing this piece of software took us some time, there fore we decided to share the procedure we followed.
Everything comes from this website, the missing piece of information is with Drupal 8, you need to create a folder /libraries on the root of the website. And drop in the Geshi library as weel as the codesnippet files.
Ceci est un snipet de code
- Pod: a group of containers
- Labels: labels form identifying pods
- Kubelet: container agent
- Proxy: a Load balancer for pods
- etcd: a metadata service
- cAdvisor: provides ressource/usage metrics
- Replication Controller: manages replication of pods
- Scheduler: schedles pods in worker nodes
API Server: Kubernetes API server
Types of node:
- master nodes: self-explanatory
- minions: worker nodes
Based on the following technologies:
- cgroups: limits the resources a containers can use.
Namespace: this technology hides the PID of the processes running on the host. Fron within the containers it is only possible to see the PID of the processes used by the container.
In this tutorial we will run Bugzilla inside a Docker container and hook it to a Database.
- Bugzilla only provides an installation guide for Linux Ubuntu 14.04.
- Fedora provide a yum package for Bugzilla but it doesn't seem reliable
From a Linux box with Docker on it, we will download the following Docker image from Docker hub: https://hub.docker.com/r/achild/bugzilla/~/dockerfile/