Git Product home page Git Product logo

container's People

Contributors

calavera avatar evanphx avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

container's Issues

Now that we're sharing secrets...

Guys,

thanks for sharing this with me, I'm going to try to move my tests to it and give you feedback.

Since I didn't know how to reach you both to talk about this project, I just enabled this super secret, and super alpha, feature, you can find it there:

image

Error running container if the repositories directory doesn't exist

I guess container should create that directory structure the first time it boots:

vagrant@precise64:/vagrant$ ./container -h
panic: open /var/lib/ar-container/repositories: no such file or directory

goroutine 1 [running]:
main.main()
    /vagrant/main.go:18 +0xf7

goroutine 2 [syscall]:

goroutine 4 [runnable]:
text/template/parse.lexText(0xc2000e1100, 0x79a460)
    /usr/local/go/src/pkg/text/template/parse/lex.go:228 +0x361
text/template/parse.(*lexer).run(0xc2000e1100)
    /usr/local/go/src/pkg/text/template/parse/lex.go:198 +0x3e
created by text/template/parse.lex
    /usr/local/go/src/pkg/text/template/parse/lex.go:191 +0x111

goroutine 5 [runnable]:
os/signal.loop()
    /usr/local/go/src/pkg/os/signal/signal_unix.go:19
created by os/signal.init·1
    /usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x2f

how to import a base image

Hi guys,

I was trying to import a new base image, but I'm afraid I'm completely lost. I see that the import command expects a directory with a repositories inside. But I don't know what to put there. For reference this is what I do with docker:

mkdir -p $target
sudo debootstrap --variant=buildd --include=iputils-ping,telnet,vim-tiny,git,curl precise $target $mirror

sudo sh -c "echo 'deb $mirror precise main restricted universe multiverse' > $target/etc/apt/sources.list"

cd $target
img=$(sudo tar -c . | docker import -)
docker tag $img gh-base $time
docker tag $img gh-base latest

Do I need to generate the repositories and layers info by hand?

I would really appreciate if you could explain me how to import an image.

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.