This file contains hidden or 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
###### STARTING THE CONTAINER: | |
Sep 08 10:44:03 hyperion.local docker[13188]: 2014/09/08 10:44:03 POST /v1.13/containers/create | |
Sep 08 10:44:03 hyperion.local docker[13188]: [87d65874] +job create() | |
Sep 08 10:44:03 hyperion.local kernel: device-mapper: thin: Creation of new snapshot 44 of device 30 failed. | |
Sep 08 10:44:03 hyperion.local kernel: EXT4-fs (dm-6): mounted filesystem with ordered data mode. Opts: discard | |
Sep 08 10:44:03 hyperion.local kernel: SELinux: initialized (dev dm-6, type ext4), uses xattr | |
Sep 08 10:44:03 hyperion.local kernel: device-mapper: thin: Creation of new snapshot 46 of device 45 failed. | |
Sep 08 10:44:03 hyperion.local docker[13188]: [87d65874] -job create() = OK (0) | |
Sep 08 10:44:03 hyperion.local docker[13188]: 2014/09/08 10:44:03 POST /v1.13/containers/c0ff44ef206cdd617fdfe394fab4ef63b26dc4d89163dd93395073114361083b/attach?stderr=1&stdin=1&stdout=1&stream=1 | |
Sep 08 10:44:03 hyperion.local docker[13188]: [87d65874] +job container_inspect(c0ff44ef206cdd617fdfe394fab4ef63b26dc4d89163dd |
This file contains hidden or 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
#Build its-bugzilla in a fresh fedora 20 container. | |
yum -y install ant curl zip unzip gcc gcc-c++ make maven git vim | |
if [[ ! -d BUILD ]]; | |
then | |
mkdir BUILD | |
cd BUILD | |
fi |
This file contains hidden or 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
Name: libnetconf | |
Version: 0.8.0 | |
Release: 1%{?dist} | |
Summary: NETCONF library in C | |
Group:foo | |
License: The BSD 3-Clause License | |
URL: https://code.google.com/p/libnetconf/ | |
Source0: libnetconf-0.8.0.tar | |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) | |
Requires: libtool |
This file contains hidden or 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 centos:centos6 | |
run yum -y update | |
RUN yum -y install libxml2 libssh2-devel dbus-devel doxygen libcurl-devel git readline-devel gcc gcc-c++ make libxml2-devel libxslt-devel openssh-server libtool | |
run git clone https://code.google.com/p/libnetconf/ | |
run git clone https://code.google.com/p/netopeer/ |
This file contains hidden or 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
yum -y update | |
yum -y install libxml2 libssh2-devel dbus-devel doxygen libcurl-devel git readline-devel gcc gcc-c++ make libxml2-devel libxslt-devel openssh-server libtool | |
git clone https://code.google.com/p/libnetconf/ | |
git clone https://code.google.com/p/netopeer/ | |
cd /libnetconf && ./configure --with-nacm-recovery-uid=0 |
This file contains hidden or 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
I installed libnetconf from source, when compiling /netopeer/server-sl the library is not found due to some requirements in its make file. | |
Steps to reproduce | |
yum -y update | |
yum -y install libxml2 libssh2-devel dbus-devel doxygen libcurl-devel git readline-devel gcc gcc-c++ make libxml2-devel libxslt-devel libevent-devel openssh-server | |
git clone https://code.google.com/p/libnetconf/ | |
git clone https://code.google.com/p/netopeer/ | |
This file contains hidden or 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 ubuntu:latest | |
run apt-get update | |
run apt-get install -y libxml2 libssh2-1 libdbus-1-dev doxygen libcurl4-gnutls-dev git libreadline-dev build-essential checkinstall libxml2-dev libxslt1-dev libssh2-1-dev libevent-dev openssh-server | |
run git clone https://code.google.com/p/libnetconf/ | |
run git clone https://code.google.com/p/netopeer/ | |
run cd /libnetconf && ./configure --with-nacm-recovery-uid=0 |
This file contains hidden or 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
Works on my local box | |
Fedora release 20 (Heisenbug) | |
Docker version 1.1.2, build d84a070/1.1.2 | |
Linux hyperion.local 3.15.9-200.fc20.x86_64 #1 SMP Sat Aug 9 09:02:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | |
Fails on a remote kvm server | |
Red Hat Enterprise Linux Server release 6.5 (Santiago) | |
Docker version 1.1.2, build d84a070/1.1.2 |
This file contains hidden or 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
gerrit@45afacc0bac8:~/gerrit2.9/gerrit/plugins/its-base$ mvn package | |
[INFO] Scanning for projects... | |
[WARNING] | |
[WARNING] Some problems were encountered while building the effective model for com.googlesource.gerrit.plugins.its:its-base:jar:2.9-SNAPSHOT | |
[WARNING] 'dependencies.dependency.systemPath' for com.google.gerrit:gerrit-pgm:jar should use a variable instead of a hard-coded path /home/gerrit/gerrit2.9/gerrit/buck-out/gen/gerrit-pgm/lib__pgm__output/pgm.jar @ com.googlesource.gerrit.plugins.its:its-base-parent:2.9-SNAPSHOT, /home/gerrit/gerrit2.9/gerrit/plugins/its-base/pom.xml, line 284, column 17 | |
[WARNING] | |
[WARNING] Some problems were encountered while building the effective model for com.googlesource.gerrit.plugins.its:its-base-parent:pom:2.9-SNAPSHOT | |
[WARNING] 'dependencies.dependency.systemPath' for com.google.gerrit:gerrit-pgm:jar should use a variable instead of a hard-coded path /home/gerrit/gerrit2.9/gerrit/buck-out/gen/gerrit-pgm/lib__pgm__output/pgm.jar @ line 284, column 17 | |
[WARNING] | |
[WARNING |
This file contains hidden or 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
No change in netstat output -> | |
$ sudo docker run -i -t ubuntu:latest /bin/bash | |
#NotWorking | |
root@f438e250c939:/# netstat -rn | |
Kernel IP routing table | |
Destination Gateway Genmask Flags MSS Window irtt Iface | |
0.0.0.0 192.168.0.106 0.0.0.0 UG 0 0 0 eth0 |