Giter VIP home page Giter VIP logo

py-dimgx's Introduction

Copyright © 2014-2015 Matt Bogosian (@posita).

Please see the accompanying LICENSE (or LICENSE.txt) file for rights and restrictions governing use of this software. All rights not expressly waived or licensed are reserved. If such a file did not accompany this software, then please contact the author before viewing or using this software in any capacity.

[Build Status] [Coverage Status]

Curious about integrating your project with the above services? Jeff Knupp (@jeffknupp) describes how.

dimgx - Docker IMaGe layer eXtractor (and flattener)

[master Version] [master Documentation] [master License] [master Supported Python Versions] [master Supported Python Implementations] [master Development Stage]

dimgx extracts and flattens Docker image layers. It is licensed under the MIT License. Source code is available on GitHub. See the docs for more information.

Examples

% dimgx -h
usage:
dimgx [options] [-l LAYER_SPEC] ... [-t PATH] IMAGE_SPEC
dimgx -h # for help

Docker IMaGe layer eXtractor (and flattener)
...
% dimgx nifty-box # show layers for "nifty-box[:latest]"
REPO TAG                IMAGE ID        PARENT ID       CREATED         LAYER SIZE      VIRTUAL SIZE
nifty-box               6667bbd4093c    82e5dcafc08c    18 hours ago    18.8 MB         144.0 MB
-                       82e5dcafc08c    cd5e80677a53    18 hours ago    1.8 kB          125.2 MB
-                       cd5e80677a53    df2a0347c9d0    18 hours ago    0 Bytes         125.2 MB
debian:jessie           df2a0347c9d0    39bb80489af7    21 hours ago    0 Bytes         125.2 MB
-                       39bb80489af7    -               21 hours ago    125.2 MB        125.2 MB
% dimgx -l df2a:82ef nifty-box # show only the second through fourth layers
IMAGE TAG               IMAGE ID        PARENT ID       CREATED         LAYER SIZE      VIRTUAL SIZE
-                       82e5dcafc08c    cd5e80677a53    18 hours ago    1.8 kB          125.2 MB
-                       cd5e80677a53    df2a0347c9d0    18 hours ago    0 Bytes         125.2 MB
debian:jessie           df2a0347c9d0    39bb80489af7    21 hours ago    0 Bytes         125.2 MB
% dimgx -l cd5e:6667 -t nifty.tar nifty-box # extract the third through fifth layers
% du -hs nifty.tar
 18M    nifty.tar

Issues

dimgx does what I want, so I'm just maintaining it at this point. If you find a bug, or want a feature, please file an issue (if it hasn't already been filed). If you're willing and able, consider contributing.

py-dimgx's People

Contributors

pombredanne avatar posita avatar

Watchers

 avatar  avatar

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.