This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/network.go b/network.go | |
index 22ea8ba..d4cbabd 100644 | |
--- a/network.go | |
+++ b/network.go | |
@@ -10,6 +10,7 @@ import ( | |
"github.com/dotcloud/docker/utils" | |
"log" | |
"net" | |
+ "os/exec" | |
"strconv" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From c4e29cd30fb6b23e5589a7e08dcf2fe3f7041c61 Mon Sep 17 00:00:00 2001 | |
From: Marek Goldmann <marek.goldmann@gmail.com> | |
Date: Sat, 18 Jan 2014 18:48:53 +0100 | |
Subject: [PATCH] Find if the IP is already used | |
--- | |
network.go | 11 +++++++++-- | |
1 file changed, 9 insertions(+), 2 deletions(-) | |
diff --git a/network.go b/network.go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@localhost ~]# docker run centos:latest /bin/bash | |
lxc-start: Permission denied - mount failed '/dev/pts/ptmx'->'/dev/ptmx' | |
lxc-start: failed to setup the new pts instance | |
lxc-start: failed to setup the container | |
lxc-start: invalid sequence number 1. expected 2 | |
lxc-start: failed to spawn '6ea71af69a4946e079db0b45d4722579ac445b8c3f62792f141642f68f2e3445' | |
lxc-start: Device or resource busy - failed to remove cgroup '/sys/fs/cgroup/cpuset/lxc/6ea71af69a4946e079db0b45d4722579ac445b8c3f62792f141642f68f2e3445' | |
lxc-start: Device or resource busy - failed to remove cgroup '/sys/fs/cgroup/cpu,cpuacct/lxc/6ea71af69a4946e079db0b45d4722579ac445b8c3f62792f141642f68f2e3445' | |
lxc-start: Device or resource busy - failed to remove cgroup '/sys/fs/cgroup/memory/lxc/6ea71af69a4946e079db0b45d4722579ac445b8c3f62792f141642f68f2e3445' | |
lxc-start: Device or resource busy - failed to remove cgroup '/sys/fs/cgroup/devices/lxc/6ea71af69a4946e079db0b45d4722579ac445b8c3f62792f141642f68f2e3445' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if ! [ $# -eq 1 ]; then | |
echo "Usage: $0 <node-name>" | |
exit 1 | |
fi | |
# Make sure you have all dependencies: | |
# yum -y install libguestfs-tools virt-install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[local] | |
name=local | |
baseurl=http://kojipkgs.fedoraproject.org/repos/rawhide/latest/i386 | |
cost=2000 | |
enabled=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ systemctl start openshift-broker | |
Job for openshift-broker.service failed. See 'systemctl status openshift-broker.service' and 'journalctl -xn' for details. | |
[root@localhost named]# systemctl status openshift-broker | |
openshift-broker.service - The OpenShift Origin Broker | |
Loaded: loaded (/usr/lib/systemd/system/openshift-broker.service; disabled) | |
Active: failed (Result: exit-code) since pią 2013-12-06 11:30:54 CET; 3s ago | |
Process: 1927 ExecStart=/usr/sbin/httpd $OPTIONS -k start (code=exited, status=1/FAILURE) | |
gru 06 11:30:54 localhost.localdomain httpd[1927]: AH00526: Syntax error on line 8 of /var/www/openshift/broker/httpd/broker.conf: | |
gru 06 11:30:54 localhost.localdomain httpd[1927]: Invalid command 'PassengerUser', perhaps misspelled or defined by a module not included in the server configuration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(f20=31d4b SRPMS/) goldmann@MISTRESS ~/git/docker-registry> docker run -i -t goldmann/f20 ping wp.pl -c 2 | |
PING wp.pl (212.77.100.101) 56(84) bytes of data. | |
64 bytes from www.wp.pl (212.77.100.101): icmp_seq=1 ttl=248 time=25.8 ms | |
64 bytes from www.wp.pl (212.77.100.101): icmp_seq=2 ttl=248 time=26.8 ms | |
--- wp.pl ping statistics --- | |
2 packets transmitted, 2 received, 0% packet loss, time 1001ms | |
rtt min/avg/max/mdev = 25.862/26.368/26.875/0.531 ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--> Package jetty-plus.noarch 0:9.0.5-1.fc20 will be installed | |
---> Package jetty-proxy.noarch 0:9.0.5-1.fc20 will be installed | |
---> Package jetty-rewrite.noarch 0:9.0.5-1.fc20 will be installed | |
---> Package jetty-servlets.noarch 0:9.0.5-1.fc20 will be installed | |
---> Package jetty-websocket-api.noarch 0:9.0.5-1.fc20 will be installed | |
---> Package jetty-websocket-common.noarch 0:9.0.5-1.fc20 will be installed | |
---> Package jetty-websocket-server.noarch 0:9.0.5-1.fc20 will be installed | |
--> Processing Dependency: mvn(org.eclipse.jetty.websocket:websocket-client) = 9.0.5.v20130815 for package: jetty-websocket-server-9.0.5-1.fc20.noarch | |
---> Package jetty-websocket-servlet.noarch 0:9.0.5-1.fc20 will be installed | |
---> Package maven-remote-resources-plugin.noarch 0:1.4-5.fc20 will be installed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ repoquery --repoid fedora --releasever 20 --whatprovides 'mvn(org.bouncycastle:bcprov-jdk16)' | |
bouncycastle-0:1.46-11.fc21.noarch | |
$ repoquery --repoid fedora --releasever 20 --whatprovides 'mvn(org.bouncycastle:bcprov-jdk16:1.46)' | |
$ repoquery --repoid fedora --releasever 20 --provides bouncycastle | |
bcprov = 1.46-11.fc21 | |
bouncycastle = 1.46-11.fc21 | |
mvn(org.bouncycastle:bcprov-jdk16) = 1.46 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ubuntu:~/docker/fedora-wildfly# ps ax | |
PID TTY STAT TIME COMMAND | |
1 ? Ss 0:03 /sbin/init | |
2 ? S 0:00 [kthreadd] | |
3 ? S 0:00 [ksoftirqd/0] | |
5 ? S< 0:00 [kworker/0:0H] | |
7 ? S 0:00 [migration/0] | |
8 ? S 0:00 [rcu_bh] | |
9 ? S 0:00 [rcuob/0] | |
10 ? S 0:00 [rcuob/1] |