Skip to content
This repository was archived by the owner on Feb 24, 2020. It is now read-only.
This repository was archived by the owner on Feb 24, 2020. It is now read-only.

acbuild examples break on coreos vagrant example #207

Open
@jdu

Description

@jdu

This might be my own stupidity, but I'm trying to learn how to use acbuild for a project and I'm running into an issue.

I'm submitting this as an issue as there are probably going to be a few people who are coming along the same learning path as I am (or already have and might have given up)

To outline the path I've taken to do this I've detailed my steps here:

  1. OK - Read through https://coreos.com/rkt/docs/latest/trying-out-rkt.html and set up the vagrant mentioned in the article
  2. OK - Did this tutorial https://github.com/coreos/rkt/blob/master/Documentation/getting-started-guide.md

So I can get a statically built Go application running, but my applications are running on python (predominantly). So I need to do a bit more work to the ACI than the basic Go application example.

So I started with this one:

https://github.com/appc/acbuild/blob/master/Documentation/getting-started.md

I'm somewhat familiar with alpine, but this is where I started running into problems.

My first run I got to:

acbuild run -- apk update

and it told me I needed to be running as root. So I acbuild end and do su - and swap to root inside the vagrant.

I restart the acbuild instructions from the tutorial and when I get to acbuild --debug run -- apk update I get the following:

Running: [apk update]
Downloading quay.io/coreos/alpine-sh: [========================] 2.65 MB/2.65 MB
run: exec: "systemd-nspawn": executable file not found in $PATH

after that, the next step is acbuild run -- apk add nginx which if I continue on, produces the same error.

Now, these are the potentials:

  1. There's something wrong with the coreos/rkt vagrant and it doesn't work with the acbuild/examples
  2. There's something I'm missing (or is missing from the acbuild examples that needs to be clarified)
  3. There's something wrong with quay.io/coreos/alpine-sh:latest

Any help would be greatly appreciated and I think would help anyone else who is probably coming along this path from rkt documentation to here, I'm not sure if it's something i've missed or there needs to be a bit more info in the examples or there's something wrong in the setup chain I've gone through.

As an aside -- Is there an IRC channel or anything up anywhere?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions