23566

Create docker base image for a linux iso image

Question:

How can i make a docker base image from a coreos iso image? i tried tar -cf the iso image to tar file, but it's failed. docker import ... just for .tar archive file? thanks

Answer1:

It is untypical to go from a full OS image (even when it is a small OS) to a docker image. Actually CoreOS is more intended to run docker instead of beeing the appliance of a docker image.

What base image you want to use and why? You might not need any if you pack your app with some dependencies (and run it on a Docker install in coreOS).

I guess you would be able to extrace the ISO (some packers can do that) and remove the parts docker does not need (like the kernel), but as I said you should avoid it.

Recommend

  • Are WM_ERASEBKGND messages posted to the message queue?
  • WebDriverException: unknown error: unable to unzip 'file' when I attached file with russia
  • Team Foundation Server 2015 vs. Bitbucket Server (Stash)
  • Is it safe to accept URL parameters for populating the `url_for` method?
  • Fat binaries in iOS
  • Why can't UI components be accessed from a backgroundworker?
  • In C what exactly happens if i use () to initialize a double dimension array instead of the {}?
  • MeeGo Handset Emulator not starting on Windows 7
  • Why does it draw lines in the wrong place?
  • Display validation errors inside
  • Image map in Flex
  • pillow imaging ImportError
  • How can I display the parent menu item's description using Wordpress walkers?
  • Android application: how to use the camera and grab the image bytes?
  • How to view images from protected folder with php?
  • How does document.ready work with angular element directives?
  • Using a canvas object in a thread to do simple animations - Java
  • Unable to install Git-core+svn by MacPorts
  • How can I enlarge video fullscreen without the affected interface project in as3?
  • print() is showing quotation marks in results
  • Make VS2015 use angular-cli ng at build time in a .NET project
  • VSO Build — Response status code does not indicate success: 404 (Not Found)
  • Python urlparse: small issue
  • Android fill_parent issue
  • Get data from AJAX - How to
  • FileReader+canvas image loading problem
  • ilmerge with a PFX file
  • Using $this when not in object context
  • Uncaught Error: Could not find module `ember-load-initializers`
  • Get object from AWS S3 as a stream
  • Why winpcap requires both .lib and .dll to run?
  • Return words with double consecutive letters
  • Cannot Parse HTML Data Using Android / JSOUP
  • Python: how to group similar lists together in a list of lists?
  • How do you join a server to an Active Directory (domain)?
  • Understanding cpu registers
  • Turn off referential integrity in Derby? is it possible?
  • python draw pie shapes with colour filled
  • Programmatically clearing map cache
  • Busy indicator not showing up in wpf window [duplicate]