Giter Club home page Giter Club logo

Comments (2)

deitch avatar deitch commented on September 24, 2024 1

Yeah, that is it. There are certain permissions.

  • linuxkit build just builds a runnable OS image that you can then boot up via linuxkit run or an AWS or VMware or bare metal, etc.
  • docker build builds the image, as you saw
  • linuxkit pkg build pretty much runs a docker build, but it does so in an opinionated fashion. It sets certain parameters including required runtime permissions on the image (saved in the image's config), that linuxkit build knows to look for as defaults.

Essentially, linuxkit pkg build is "run a docker build using a bunch of settings from a config file build.yaml". You can see the additional information in getty's build.yml. Look at all of the stuff in the config key of that yaml file.

You can override any of those, or you can set them explicitly in the linuxkit yaml file, see the package specification in this doc.

from linuxkit.

sheepcat avatar sheepcat commented on September 24, 2024

fixed
should build image use linuxkit rather than docker build

but what is the difference between ‘linuxkit build’ and ‘docker build ’

from linuxkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.