GithubHelp home page GithubHelp logo

portable-container-engine's Introduction

Portable Container Engine

This project want to create a small executable that makes it possible to download and explore the file system of docker images. For this it has two main modes of operation: run and download. Run downloads an image, extracts the fs and runs it. The download command just downloads the full image and saves it as a tar file.

How to Use

go run cmd/pce/main.go <run|download> <image> <command>

Not yet supported:

  • not all namespaces
  • cGroups
  • does not run the docker intened command

Special Thanks

Liz Rice for the idea and base for this project: https://github.com/lizrice/containers-from-scratch

portable-container-engine's People

Contributors

troppes avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

cnws

portable-container-engine's Issues

Fix Rights Issue

panic: fork/exec /bin/sh: permission denied

goroutine 1 [running]:
github.com/troppes/portable-container-engine/internal/util.Must(...)
/home/flo/projects/container-runtime/internal/util/util.go:5
github.com/troppes/portable-container-engine/internal/runtime.CreateChildProcess({0x7ffff0e7bebe, 0x2b}, {0xc000122030?, 0x1, 0x1})
/home/flo/projects/container-runtime/internal/runtime/container.go:58 +0x2b7
main.main()
/home/flo/projects/container-runtime/cmd/pce/main.go:36 +0x145
panic: exit status 2

goroutine 1 [running]:
github.com/troppes/portable-container-engine/internal/util.Must(...)
/home/flo/projects/container-runtime/internal/util/util.go:5
github.com/troppes/portable-container-engine/internal/runtime.Run({0x4416bc?, 0xc0000061a0?}, {0xc000124030?, 0x1?, 0xc0000061a0?})
/home/flo/projects/container-runtime/internal/runtime/container.go:35 +0x345
main.main()
/home/flo/projects/container-runtime/cmd/pce/main.go:34 +0x85
exit status 2

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.