Making a Docker from an ISO Running Embedded Linux A bit of Alpine Linux

Installing protobuf-3.0.0-beta-2

just ran test

link: g++ -pthread -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -pthread -o .libs/zcgunzip google/protobuf/testing/zcgunzip.o  -lpthread ./.libs/libprotobuf.so -lz -pthread
make[3]: Leaving directory '/home/jack/protobuf/protobuf-3.0.0-beta-2/src'
make  check-TESTS
make[3]: Entering directory '/home/jack/protobuf/protobuf-3.0.0-beta-2/src'
make[4]: Entering directory '/home/jack/protobuf/protobuf-3.0.0-beta-2/src'
PASS: protobuf-test
PASS: protobuf-lazy-descriptor-test
PASS: protobuf-lite-test
PASS: google/protobuf/compiler/zip_output_unittest.sh
PASS: google/protobuf/io/gzip_stream_unittest.sh
PASS: protobuf-lite-arena-test
============================================================================
Testsuite summary for Protocol Buffers 3.0.0-beta-2
============================================================================
# TOTAL: 6
# PASS:  6
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[4]: Leaving directory '/home/jack/protobuf/protobuf-3.0.0-beta-2/src'
make[3]: Leaving directory '/home/jack/protobuf/protobuf-3.0.0-beta-2/src'
make[2]: Leaving directory '/home/jack/protobuf/protobuf-3.0.0-beta-2/src'
make[1]: Leaving directory '/home/jack/protobuf/protobuf-3.0.0-beta-2/src'
jack@jack-desktop:~/protobuf/protobuf-3.0.0-beta-2$ make install
Making install in .
make[1]: Entering directory '/home/jack/protobuf/protobuf-3.0.0-beta-2'
make[2]: Entering directory '/home/jack/protobuf/protobuf-3.0.0-beta-2'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 protobuf.pc protobuf-lite.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/home/jack/protobuf/protobuf-3.0.0-beta-2'
make[1]: Leaving directory '/home/jack/protobuf/protobuf-3.0.0-beta-2'
Making install in src
^X^CMakefile:1197: recipe for target 'install-recursive' failed
make: *** [install-recursive] Interrupt

jack@jack-desktop:~/protobuf/protobuf-3.0.0-beta-2$ sudo make install
Making install in .
make[1]: Entering directory '/home/jack/protobuf/protobuf-3.0.0-beta-2'
make[2]: Entering directory '/home/jack/protobuf/protobuf-3.0.0-beta-2'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 protobuf.pc protobuf-lite.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/home/jack/protobuf/protobuf-3.0.0-beta-2'
make[1]: Leaving directory '/home/jack/protobuf/protobuf-3.0.0-beta-2'
Making install in src
make[1]: Entering directory '/home/jack/protobuf/protobuf-3.0.0-beta-2/src'
make  install-am
make[2]: Entering directory '/home/jack/protobuf/protobuf-3.0.0-beta-2/src'
make[3]: Entering directory '/home/jack/protobuf/protobuf-3.0.0-beta-2/src'
 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libprotobuf-lite.la libprotobuf.la libprotoc.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libprotobuf-lite.so.10.0.0 /usr/local/lib/libprotobuf-lite.so.10.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libprotobuf-lite.so.10.0.0 libprotobuf-lite.so.10 || { rm -f libprotobuf-lite.so.10 && ln -s libprotobuf-lite.so.10.0.0 libprotobuf-lite.so.10; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libprotobuf-lite.so.10.0.0 libprotobuf-lite.so || { rm -f libprotobuf-lite.so && ln -s libprotobuf-lite.so.10.0.0 libprotobuf-lite.so; }; })
libtool: install: /usr/bin/install -c .libs/libprotobuf-lite.lai /usr/local/lib/libprotobuf-lite.la
libtool: install: /usr/bin/install -c .libs/libprotobuf.so.10.0.0 /usr/local/lib/libprotobuf.so.10.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libprotobuf.so.10.0.0 libprotobuf.so.10 || { rm -f libprotobuf.so.10 && ln -s libprotobuf.so.10.0.0 libprotobuf.so.10; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libprotobuf.so.10.0.0 libprotobuf.so || { rm -f libprotobuf.so && ln -s libprotobuf.so.10.0.0 libprotobuf.so; }; })
libtool: install: /usr/bin/install -c .libs/libprotobuf.lai /usr/local/lib/libprotobuf.la
libtool: install: warning: relinking `libprotoc.la'
libtool: install: (cd /home/jack/protobuf/protobuf-3.0.0-beta-2/src; /bin/bash /home/jack/protobuf/protobuf-3.0.0-beta-2/libtool  --tag CXX --mode=relink g++ -pthread -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -version-info 10:0:0 -export-dynamic -no-undefined -o libprotoc.la -rpath /usr/local/lib google/protobuf/compiler/code_generator.lo google/protobuf/compiler/command_line_interface.lo google/protobuf/compiler/plugin.lo google/protobuf/compiler/plugin.pb.lo google/protobuf/compiler/subprocess.lo google/protobuf/compiler/zip_writer.lo google/protobuf/compiler/cpp/cpp_enum.lo google/protobuf/compiler/cpp/cpp_enum_field.lo google/protobuf/compiler/cpp/cpp_extension.lo google/protobuf/compiler/cpp/cpp_field.lo google/protobuf/compiler/cpp/cpp_file.lo google/protobuf/compiler/cpp/cpp_generator.lo google/protobuf/compiler/cpp/cpp_helpers.lo google/protobuf/compiler/cpp/cpp_map_field.lo google/protobuf/compiler/cpp/cpp_message.lo google/protobuf/compiler/cpp/cpp_message_field.lo google/protobuf/compiler/cpp/cpp_primitive_field.lo google/protobuf/compiler/cpp/cpp_service.lo google/protobuf/compiler/cpp/cpp_string_field.lo google/protobuf/compiler/java/java_context.lo google/protobuf/compiler/java/java_enum.lo google/protobuf/compiler/java/java_enum_lite.lo google/protobuf/compiler/java/java_enum_field.lo google/protobuf/compiler/java/java_enum_field_lite.lo google/protobuf/compiler/java/java_extension.lo google/protobuf/compiler/java/java_field.lo google/protobuf/compiler/java/java_file.lo google/protobuf/compiler/java/java_generator.lo google/protobuf/compiler/java/java_generator_factory.lo google/protobuf/compiler/java/java_helpers.lo google/protobuf/compiler/java/java_lazy_message_field.lo google/protobuf/compiler/java/java_lazy_message_field_lite.lo google/protobuf/compiler/java/java_map_field.lo google/protobuf/compiler/java/java_map_field_lite.lo google/protobuf/compiler/java/java_message.lo google/protobuf/compiler/java/java_message_lite.lo google/protobuf/compiler/java/java_message_builder.lo google/protobuf/compiler/java/java_message_builder_lite.lo google/protobuf/compiler/java/java_message_field.lo google/protobuf/compiler/java/java_message_field_lite.lo google/protobuf/compiler/java/java_name_resolver.lo google/protobuf/compiler/java/java_primitive_field.lo google/protobuf/compiler/java/java_primitive_field_lite.lo google/protobuf/compiler/java/java_shared_code_generator.lo google/protobuf/compiler/java/java_service.lo google/protobuf/compiler/java/java_string_field.lo google/protobuf/compiler/java/java_string_field_lite.lo google/protobuf/compiler/java/java_doc_comment.lo google/protobuf/compiler/js/js_generator.lo google/protobuf/compiler/javanano/javanano_enum.lo google/protobuf/compiler/javanano/javanano_enum_field.lo google/protobuf/compiler/javanano/javanano_extension.lo google/protobuf/compiler/javanano/javanano_field.lo google/protobuf/compiler/javanano/javanano_file.lo google/protobuf/compiler/javanano/javanano_generator.lo google/protobuf/compiler/javanano/javanano_helpers.lo google/protobuf/compiler/javanano/javanano_map_field.lo google/protobuf/compiler/javanano/javanano_message.lo google/protobuf/compiler/javanano/javanano_message_field.lo google/protobuf/compiler/javanano/javanano_primitive_field.lo google/protobuf/compiler/objectivec/objectivec_enum.lo google/protobuf/compiler/objectivec/objectivec_enum_field.lo google/protobuf/compiler/objectivec/objectivec_extension.lo google/protobuf/compiler/objectivec/objectivec_field.lo google/protobuf/compiler/objectivec/objectivec_file.lo google/protobuf/compiler/objectivec/objectivec_generator.lo google/protobuf/compiler/objectivec/objectivec_helpers.lo google/protobuf/compiler/objectivec/objectivec_map_field.lo google/protobuf/compiler/objectivec/objectivec_message.lo google/protobuf/compiler/objectivec/objectivec_message_field.lo google/protobuf/compiler/objectivec/objectivec_oneof.lo google/protobuf/compiler/objectivec/objectivec_primitive_field.lo google/protobuf/compiler/python/python_generator.lo google/protobuf/compiler/ruby/ruby_generator.lo google/protobuf/compiler/csharp/csharp_doc_comment.lo google/protobuf/compiler/csharp/csharp_enum.lo google/protobuf/compiler/csharp/csharp_enum_field.lo google/protobuf/compiler/csharp/csharp_field_base.lo google/protobuf/compiler/csharp/csharp_generator.lo google/protobuf/compiler/csharp/csharp_helpers.lo google/protobuf/compiler/csharp/csharp_map_field.lo google/protobuf/compiler/csharp/csharp_message.lo google/protobuf/compiler/csharp/csharp_message_field.lo google/protobuf/compiler/csharp/csharp_primitive_field.lo google/protobuf/compiler/csharp/csharp_reflection_class.lo google/protobuf/compiler/csharp/csharp_repeated_enum_field.lo google/protobuf/compiler/csharp/csharp_repeated_message_field.lo google/protobuf/compiler/csharp/csharp_repeated_primitive_field.lo google/protobuf/compiler/csharp/csharp_source_generator_base.lo google/protobuf/compiler/csharp/csharp_wrapper_field.lo -lpthread libprotobuf.la -lz )
libtool: relink: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o  google/protobuf/compiler/.libs/code_generator.o google/protobuf/compiler/.libs/command_line_interface.o google/protobuf/compiler/.libs/plugin.o google/protobuf/compiler/.libs/plugin.pb.o google/protobuf/compiler/.libs/subprocess.o google/protobuf/compiler/.libs/zip_writer.o google/protobuf/compiler/cpp/.libs/cpp_enum.o google/protobuf/compiler/cpp/.libs/cpp_enum_field.o google/protobuf/compiler/cpp/.libs/cpp_extension.o google/protobuf/compiler/cpp/.libs/cpp_field.o google/protobuf/compiler/cpp/.libs/cpp_file.o google/protobuf/compiler/cpp/.libs/cpp_generator.o google/protobuf/compiler/cpp/.libs/cpp_helpers.o google/protobuf/compiler/cpp/.libs/cpp_map_field.o google/protobuf/compiler/cpp/.libs/cpp_message.o google/protobuf/compiler/cpp/.libs/cpp_message_field.o google/protobuf/compiler/cpp/.libs/cpp_primitive_field.o google/protobuf/compiler/cpp/.libs/cpp_service.o google/protobuf/compiler/cpp/.libs/cpp_string_field.o google/protobuf/compiler/java/.libs/java_context.o google/protobuf/compiler/java/.libs/java_enum.o google/protobuf/compiler/java/.libs/java_enum_lite.o google/protobuf/compiler/java/.libs/java_enum_field.o google/protobuf/compiler/java/.libs/java_enum_field_lite.o google/protobuf/compiler/java/.libs/java_extension.o google/protobuf/compiler/java/.libs/java_field.o google/protobuf/compiler/java/.libs/java_file.o google/protobuf/compiler/java/.libs/java_generator.o google/protobuf/compiler/java/.libs/java_generator_factory.o google/protobuf/compiler/java/.libs/java_helpers.o google/protobuf/compiler/java/.libs/java_lazy_message_field.o google/protobuf/compiler/java/.libs/java_lazy_message_field_lite.o google/protobuf/compiler/java/.libs/java_map_field.o google/protobuf/compiler/java/.libs/java_map_field_lite.o google/protobuf/compiler/java/.libs/java_message.o google/protobuf/compiler/java/.libs/java_message_lite.o google/protobuf/compiler/java/.libs/java_message_builder.o google/protobuf/compiler/java/.libs/java_message_builder_lite.o google/protobuf/compiler/java/.libs/java_message_field.o google/protobuf/compiler/java/.libs/java_message_field_lite.o google/protobuf/compiler/java/.libs/java_name_resolver.o google/protobuf/compiler/java/.libs/java_primitive_field.o google/protobuf/compiler/java/.libs/java_primitive_field_lite.o google/protobuf/compiler/java/.libs/java_shared_code_generator.o google/protobuf/compiler/java/.libs/java_service.o google/protobuf/compiler/java/.libs/java_string_field.o google/protobuf/compiler/java/.libs/java_string_field_lite.o google/protobuf/compiler/java/.libs/java_doc_comment.o google/protobuf/compiler/js/.libs/js_generator.o google/protobuf/compiler/javanano/.libs/javanano_enum.o google/protobuf/compiler/javanano/.libs/javanano_enum_field.o google/protobuf/compiler/javanano/.libs/javanano_extension.o google/protobuf/compiler/javanano/.libs/javanano_field.o google/protobuf/compiler/javanano/.libs/javanano_file.o google/protobuf/compiler/javanano/.libs/javanano_generator.o google/protobuf/compiler/javanano/.libs/javanano_helpers.o google/protobuf/compiler/javanano/.libs/javanano_map_field.o google/protobuf/compiler/javanano/.libs/javanano_message.o google/protobuf/compiler/javanano/.libs/javanano_message_field.o google/protobuf/compiler/javanano/.libs/javanano_primitive_field.o google/protobuf/compiler/objectivec/.libs/objectivec_enum.o google/protobuf/compiler/objectivec/.libs/objectivec_enum_field.o google/protobuf/compiler/objectivec/.libs/objectivec_extension.o google/protobuf/compiler/objectivec/.libs/objectivec_field.o google/protobuf/compiler/objectivec/.libs/objectivec_file.o google/protobuf/compiler/objectivec/.libs/objectivec_generator.o google/protobuf/compiler/objectivec/.libs/objectivec_helpers.o google/protobuf/compiler/objectivec/.libs/objectivec_map_field.o google/protobuf/compiler/objectivec/.libs/objectivec_message.o google/protobuf/compiler/objectivec/.libs/objectivec_message_field.o google/protobuf/compiler/objectivec/.libs/objectivec_oneof.o google/protobuf/compiler/objectivec/.libs/objectivec_primitive_field.o google/protobuf/compiler/python/.libs/python_generator.o google/protobuf/compiler/ruby/.libs/ruby_generator.o google/protobuf/compiler/csharp/.libs/csharp_doc_comment.o google/protobuf/compiler/csharp/.libs/csharp_enum.o google/protobuf/compiler/csharp/.libs/csharp_enum_field.o google/protobuf/compiler/csharp/.libs/csharp_field_base.o google/protobuf/compiler/csharp/.libs/csharp_generator.o google/protobuf/compiler/csharp/.libs/csharp_helpers.o google/protobuf/compiler/csharp/.libs/csharp_map_field.o google/protobuf/compiler/csharp/.libs/csharp_message.o google/protobuf/compiler/csharp/.libs/csharp_message_field.o google/protobuf/compiler/csharp/.libs/csharp_primitive_field.o google/protobuf/compiler/csharp/.libs/csharp_reflection_class.o google/protobuf/compiler/csharp/.libs/csharp_repeated_enum_field.o google/protobuf/compiler/csharp/.libs/csharp_repeated_message_field.o google/protobuf/compiler/csharp/.libs/csharp_repeated_primitive_field.o google/protobuf/compiler/csharp/.libs/csharp_source_generator_base.o google/protobuf/compiler/csharp/.libs/csharp_wrapper_field.o   -lpthread -L/usr/local/lib -lprotobuf -lz -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o  -pthread -O2   -pthread -Wl,-soname -Wl,libprotoc.so.10 -o .libs/libprotoc.so.10.0.0
libtool: install: /usr/bin/install -c .libs/libprotoc.so.10.0.0T /usr/local/lib/libprotoc.so.10.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libprotoc.so.10.0.0 libprotoc.so.10 || { rm -f libprotoc.so.10 && ln -s libprotoc.so.10.0.0 libprotoc.so.10; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libprotoc.so.10.0.0 libprotoc.so || { rm -f libprotoc.so && ln -s libprotoc.so.10.0.0 libprotoc.so; }; })
libtool: install: /usr/bin/install -c .libs/libprotoc.lai /usr/local/lib/libprotoc.la
libtool: install: /usr/bin/install -c .libs/libprotobuf-lite.a /usr/local/lib/libprotobuf-lite.a
libtool: install: chmod 644 /usr/local/lib/libprotobuf-lite.a
libtool: install: ranlib /usr/local/lib/libprotobuf-lite.a
libtool: install: /usr/bin/install -c .libs/libprotobuf.a /usr/local/lib/libprotobuf.a
libtool: install: chmod 644 /usr/local/lib/libprotobuf.a
libtool: install: ranlib /usr/local/lib/libprotobuf.a
libtool: install: /usr/bin/install -c .libs/libprotoc.a /usr/local/lib/libprotoc.a
libtool: install: chmod 644 /usr/local/lib/libprotoc.a
libtool: install: ranlib /usr/local/lib/libprotoc.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/usr/local/bin'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c protoc '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/protoc /usr/local/bin/protoc
 /bin/mkdir -p '/usr/local/include'
 /bin/mkdir -p '/usr/local/include/google/protobuf'
 /usr/bin/install -c -m 644  google/protobuf/descriptor.proto google/protobuf/any.proto google/protobuf/api.proto google/protobuf/duration.proto google/protobuf/empty.proto google/protobuf/field_mask.proto google/protobuf/source_context.proto google/protobuf/struct.proto google/protobuf/timestamp.proto google/protobuf/type.proto google/protobuf/wrappers.proto '/usr/local/include/google/protobuf'
 /bin/mkdir -p '/usr/local/include/google/protobuf/compiler'
 /usr/bin/install -c -m 644  google/protobuf/compiler/plugin.proto '/usr/local/include/google/protobuf/compiler'
 /bin/mkdir -p '/usr/local/include'
 /bin/mkdir -p '/usr/local/include/google/protobuf'
 /usr/bin/install -c -m 644  google/protobuf/any.pb.h google/protobuf/api.pb.h google/protobuf/any.h google/protobuf/arena.h google/protobuf/arenastring.h google/protobuf/descriptor_database.h google/protobuf/descriptor.h google/protobuf/descriptor.pb.h google/protobuf/duration.pb.h google/protobuf/dynamic_message.h google/protobuf/empty.pb.h google/protobuf/extension_set.h google/protobuf/field_mask.pb.h google/protobuf/generated_enum_reflection.h google/protobuf/generated_enum_util.h google/protobuf/generated_message_reflection.h google/protobuf/generated_message_util.h google/protobuf/map_entry.h google/protobuf/map_entry_lite.h google/protobuf/map_field.h google/protobuf/map_field_inl.h google/protobuf/map_field_lite.h google/protobuf/map.h google/protobuf/map_type_handler.h google/protobuf/message.h google/protobuf/message_lite.h google/protobuf/metadata.h google/protobuf/reflection.h google/protobuf/reflection_ops.h google/protobuf/repeated_field.h google/protobuf/repeated_field_reflection.h google/protobuf/service.h google/protobuf/source_context.pb.h google/protobuf/struct.pb.h google/protobuf/text_format.h google/protobuf/timestamp.pb.h google/protobuf/type.pb.h google/protobuf/unknown_field_set.h google/protobuf/wire_format.h google/protobuf/wire_format_lite.h '/usr/local/include/google/protobuf'
 /bin/mkdir -p '/usr/local/include/google/protobuf/compiler/javanano'
 /usr/bin/install -c -m 644  google/protobuf/compiler/javanano/javanano_generator.h '/usr/local/include/google/protobuf/compiler/javanano'
 /bin/mkdir -p '/usr/local/include/google/protobuf/compiler/java'
 /usr/bin/install -c -m 644  google/protobuf/compiler/java/java_generator.h google/protobuf/compiler/java/java_names.h '/usr/local/include/google/protobuf/compiler/java'
 /bin/mkdir -p '/usr/local/include/google/protobuf/compiler/cpp'
 /usr/bin/install -c -m 644  google/protobuf/compiler/cpp/cpp_generator.h '/usr/local/include/google/protobuf/compiler/cpp'
 /bin/mkdir -p '/usr/local/include/google/protobuf/compiler/python'
 /usr/bin/install -c -m 644  google/protobuf/compiler/python/python_generator.h '/usr/local/include/google/protobuf/compiler/python'
 /bin/mkdir -p '/usr/local/include/google/protobuf/compiler/js'
 /usr/bin/install -c -m 644  google/protobuf/compiler/js/js_generator.h '/usr/local/include/google/protobuf/compiler/js'
 /bin/mkdir -p '/usr/local/include/google/protobuf'
 /usr/bin/install -c -m 644  google/protobuf/wire_format_lite_inl.h google/protobuf/wrappers.pb.h '/usr/local/include/google/protobuf'
 /bin/mkdir -p '/usr/local/include/google/protobuf/stubs'
 /usr/bin/install -c -m 644  google/protobuf/stubs/atomic_sequence_num.h google/protobuf/stubs/atomicops.h google/protobuf/stubs/atomicops_internals_power.h google/protobuf/stubs/atomicops_internals_arm64_gcc.h google/protobuf/stubs/atomicops_internals_arm_gcc.h google/protobuf/stubs/atomicops_internals_arm_qnx.h google/protobuf/stubs/atomicops_internals_atomicword_compat.h google/protobuf/stubs/atomicops_internals_generic_gcc.h google/protobuf/stubs/atomicops_internals_macosx.h google/protobuf/stubs/atomicops_internals_mips_gcc.h google/protobuf/stubs/atomicops_internals_pnacl.h google/protobuf/stubs/atomicops_internals_solaris.h google/protobuf/stubs/atomicops_internals_tsan.h google/protobuf/stubs/atomicops_internals_x86_gcc.h google/protobuf/stubs/atomicops_internals_x86_msvc.h google/protobuf/stubs/callback.h google/protobuf/stubs/bytestream.h google/protobuf/stubs/casts.h google/protobuf/stubs/common.h google/protobuf/stubs/fastmem.h google/protobuf/stubs/hash.h google/protobuf/stubs/logging.h google/protobuf/stubs/macros.h google/protobuf/stubs/mutex.h google/protobuf/stubs/once.h google/protobuf/stubs/platform_macros.h google/protobuf/stubs/port.h google/protobuf/stubs/scoped_ptr.h google/protobuf/stubs/shared_ptr.h google/protobuf/stubs/singleton.h google/protobuf/stubs/status.h google/protobuf/stubs/stl_util.h google/protobuf/stubs/stringpiece.h google/protobuf/stubs/template_util.h google/protobuf/stubs/type_traits.h '/usr/local/include/google/protobuf/stubs'
 /bin/mkdir -p '/usr/local/include/google/protobuf/util'
 /usr/bin/install -c -m 644  google/protobuf/util/type_resolver.h google/protobuf/util/field_comparator.h google/protobuf/util/field_mask_util.h google/protobuf/util/json_util.h google/protobuf/util/time_util.h google/protobuf/util/type_resolver_util.h google/protobuf/util/message_differencer.h '/usr/local/include/google/protobuf/util'
 /bin/mkdir -p '/usr/local/include/google/protobuf/compiler'
 /usr/bin/install -c -m 644  google/protobuf/compiler/code_generator.h google/protobuf/compiler/command_line_interface.h google/protobuf/compiler/importer.h google/protobuf/compiler/parser.h google/protobuf/compiler/plugin.h google/protobuf/compiler/plugin.pb.h '/usr/local/include/google/protobuf/compiler'
 /bin/mkdir -p '/usr/local/include/google/protobuf/compiler/ruby'
 /usr/bin/install -c -m 644  google/protobuf/compiler/ruby/ruby_generator.h '/usr/local/include/google/protobuf/compiler/ruby'
 /bin/mkdir -p '/usr/local/include/google/protobuf/io'
 /usr/bin/install -c -m 644  google/protobuf/io/coded_stream.h google/protobuf/io/gzip_stream.h google/protobuf/io/printer.h google/protobuf/io/strtod.h google/protobuf/io/tokenizer.h google/protobuf/io/zero_copy_stream.h google/protobuf/io/zero_copy_stream_impl.h google/protobuf/io/zero_copy_stream_impl_lite.h '/usr/local/include/google/protobuf/io'
 /bin/mkdir -p '/usr/local/include/google/protobuf/compiler/csharp'
 /usr/bin/install -c -m 644  google/protobuf/compiler/csharp/csharp_generator.h google/protobuf/compiler/csharp/csharp_names.h '/usr/local/include/google/protobuf/compiler/csharp'
 /bin/mkdir -p '/usr/local/include/google/protobuf/compiler/objectivec'
 /usr/bin/install -c -m 644  google/protobuf/compiler/objectivec/objectivec_generator.h google/protobuf/compiler/objectivec/objectivec_helpers.h '/usr/local/include/google/protobuf/compiler/objectivec'
make[3]: Leaving directory '/home/jack/protobuf/protobuf-3.0.0-beta-2/src'
make[2]: Leaving directory '/home/jack/protobuf/protobuf-3.0.0-beta-2/src'
make[1]: Leaving directory '/home/jack/protobuf/protobuf-3.0.0-beta-2/src'
jack@jack-desktop:~/protobuf/protobuf-3.0.0-beta-2$ 

/usr/local/lib/python2.7/dist-packages/google/protobuf

----------------------------------

essentially, you'd make a tar file of the iso filesystem contents, and then docker load that tar file

http://grokbase.com/t/gg/docker-user/1557fek69z/docker-creating-docker-base-images. http://permalink.gmane.org/gmane.comp.sysutils.docker.user/2612 https://github.com/docker/docker/tree/master/contrib http://nl.alpinelinux.org/alpine/ http://distro.ibiblio.org/puppylinux/puppy-slacko-6.3.0/64/ http://www.osst.co.uk/Download/DamnSmallLinux/current/?id=2
Convert images.iso to docker images

September 24, 2015 onthroyd LinuxDocker
If you must use an ISO here is the process required (I’m using Ubuntu in this example).  Other distro’s milage might vary…
# mkdir rootfs
# sudo mount -o loop /vagrant/ubuntu-14.10-server-amd64.iso rootfs
# sudo apt-get install -y squashfs-tools
# mkdir unsquashfs
# sudo unsquashfs -f -d unsquashfs/ rootfs/install/filesystem.squashfs
# sudo tar -C unsquahsfs  -c . | docker import – rich/mybase
For other distro’s that are not in squashfs format you have to find the LiveCD file and unpack it before creating the Docker image.
----------------------

docker import
Estimated reading time: 2 minutes
Description
Import the contents from a tarball to create a filesystem image
Usage
docker import [OPTIONS] file|URL|- [REPOSITORY[:TAG]]
Options
Name, shorthand	Default	Description
--change, -c	 	Apply Dockerfile instruction to the created image
--message, -m	 	Set commit message for imported image
Parent command
Command	Description
docker	The base command for the Docker CLI.
Extended description
You can specify a URL or - (dash) to take data directly from STDIN. The URL can point to an archive (.tar, .tar.gz, .tgz, .bzip, .tar.xz, or .txz) containing a filesystem or to an individual file on the Docker host. If you specify an archive, Docker untars it in the container relative to the / (root). If you specify an individual file, you must specify the full path within the host. To import from a remote location, specify a URI that begins with the http:// or https:// protocol.
The --change option will apply Dockerfile instructions to the image that is created. Supported Dockerfile instructions: CMD|ENTRYPOINT|ENV|EXPOSE|ONBUILD|USER|VOLUME|WORKDIR
Examples
Import from a remote location

This will create a new untagged image.
$ docker import http://example.com/exampleimage.tgz
Import from a local file

Import to docker via pipe and STDIN.
$ cat exampleimage.tgz | docker import - exampleimagelocal:new
Import with a commit message.
$ cat exampleimage.tgz | docker import --message "New image imported from tarball" - exampleimagelocal:new
Import to docker from a local archive.
  $ docker import /path/to/exampleimage.tgz
Import from a local directory

$ sudo tar -c . | docker import - exampleimagedir
Import from a local directory with new configurations

$ sudo tar -c . | docker import --change "ENV DEBUG true" - exampleimagedir

I download Damn Small Linux to exeriment with

here are currently four types of DSL....


dsl-< version >.iso: the standard isolinux version, which is used for liveCD, 
frugal, or traditional harddrive install.

dsl-< version >-syslinux.iso: boots using syslinux instead of isolinux, 
used for some very old hardware that is no longer supported by isolinux.  
Use syslinux version if booting fails with the standard iso.

dsl-< version >-embedded.zip: comes with qemu, for running inside of a host 
Windows or Linux system.

dsl-< version >-vmx.zip:  a virtual machine that will run in VMware or 
VMware player.

frugal_lite.sh is our network install script and requires tomsrtbt linux:
http://www.toms.net/rb/

Docs are located in the pdfdocs/ directory and in the DSL Wiki

The Damn Small Torrent Directory:

http://www.osst.co.uk/Download/DamnSmallLinux/current/?id=2
	
 	Name	Seeders	Leechers
Folder	
..
 	 
Folder	
documentation
Folder	
dsl-3.x
Folder	
kernel
Folder	
1-readme_first.txt
 	 
Folder	
bootfloppy-utils.img.md5.txt
 	 
Folder	
bootfloppy-utils.img.torrent
 	 
Folder	
bootfloppy.img.md5.txt
 	 
Folder	
bootfloppy.img.torrent
 	 
Folder	
current.iso.md5.txt
 	 
Folder	
dsl-4.4.10-embedded.zip.md5.txt
 	 
Folder	
dsl-4.4.10-initrd.iso.md5.txt
 	 
Folder	
dsl-4.4.10-initrd.iso.torrent
 	 
Folder	
dsl-4.4.10-syslinux.iso.md5.txt
 	 
Folder	
dsl-4.4.10-syslinux.iso.torrent
 	 
Folder	
dsl-4.4.10-vmx.zip.md5.txt
 	 
Folder	
dsl-4.4.10.iso.md5.txt
 	 
Folder	
dsl-4.4.10.iso.torrent
 	 
Folder	
pcmciafloppy.img.md5.txt
 	 
Folder	
pcmciafloppy.img.torrent

Running Embedded Linux

https://wiki.yoctoproject.org/wiki/Building_and_running_embedded_Linux_.NET_applications_from_first_principles
http://askubuntu.com/questions/95392/how-to-create-a-bootable-system-with-a-squashfs-root


Xhost info


xhost and how to use it
Last modified: Wednesday, February 27, 2013 12:19 AM
xhost overview
xhost is a program that controls access for X server. You can use xhost to limit access for X server for security reasons. The following message is what you get when connection is rejected by xhost:
Xlib: connection to "192.168.1.251:0.0" refused by server
Xlib: No protocol specified
Error: Can't open display: 192.168.1.251:0
Block all access (xhost -) and only allow local applications, you would use:
-bash-3.2$ xhost -
access control enabled, only authorized clients can connect
To allow all host, you would use:
-bash-3.2$ xhost +
access control disabled, clients can connect from any host
To block or allow specific host, you would use:
$ xhost + 192.168.1.101
This command allows access from the host, 192.168.1.101.
$ xhost - 192.168.1.101
This command blocks access from the host, 192.168.1.101.
docker run -it --rm alpine:latest /bin/ash