In e.g.: you 'docker run -t -i' a 'bash' session and '.bashrc' is fucked up, container will forever respawn disallowing you to 'docker rmi' the used image .
docker rmi triangle/ubuntu-saucy-with-rvm 2>&1|grep ^Error|awk '{print $10}'|xargs docker rm
In e.g.: you 'docker run -t -i' a 'bash' session and '.bashrc' is fucked up, container will forever respawn disallowing you to 'docker rmi' the used image .
docker rmi triangle/ubuntu-saucy-with-rvm 2>&1|grep ^Error|awk '{print $10}'|xargs docker rm
| { | |
| "title": "Apache and Tomcat Logs", | |
| "services": { | |
| "query": { | |
| "list": { | |
| "0": { | |
| "query": "apache !tomcat !static", | |
| "alias": "", | |
| "color": "#7EB26D", | |
| "id": 0, |
| { | |
| "builders": [{ | |
| "type": "virtualbox", | |
| "guest_os_type": "Linux", | |
| "iso_url": "https://github.com/steeve/boot2docker/releases/download/v0.3.0/boot2docker.iso", | |
| "iso_checksum": "e03670ed349c54848e20d9043a90f2df8df70d82e674b84a7083301193745b19", | |
| "iso_checksum_type": "sha256", | |
| "ssh_username": "docker", | |
| "ssh_password": "tcuser", | |
| "shutdown_command": "sudo poweroff" |
Install routing plugin
yum install rubygem-openshift-origin-routing-activemq.noarch
Create routing-plugin configuration file
cp /etc/openshift/plugins.d/openshift-origin-routing-activemq.conf.example /etc/openshift/plugins.d/openshift-origin-routing-activemq.conf
Add routinginfo user into activemq.xml configuration file. See files below.
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
A Dashing widget that checks whether a server is responding to either an http or ping request. It displays either a check or alert depending on the response.
| #!/bin/bash | |
| # file: /usr/share/lxc/templates/lxc-ubuntu-cycle | |
| # | |
| # template script for generating ubuntu container for LXC | |
| # | |
| # This script consolidates and extends the existing lxc ubuntu scripts | |
| # | |
| # Copyright © 2011 Serge Hallyn <[email protected]> | |
| # Copyright © 2010 Wilhelm Meier |
In the seemlingly endless search for the actual correct and easy way to deploy a Rails app, we have tried several ways. We tried out using Apache2 and running a cluster of Thin servers. With the built in threading of Puma we decided to use it with Nginx.
Example of mocking out a library in Chef so you can test the provider in isolation.
If you want to test the library itself you can do more normal Ruby things.
| # Simple web server | |
| # Use N_ envvar to identify the process | |
| run lambda {|env| | |
| [ 200, {}, "Ok @ #{ENV["N_"]}"] | |
| } |