Virtual box to test CoreOS's rkt
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE.txt
README.md
Vagrantfile
rkt_bootstrap.sh

README.md

A virtualbox to test rocket container engine locally.

preconditions

sample usage

  • vagrant up
  • vagrant ssh
    • rkt help
    • sudo ~/rkt-v1.27.0/rkt list
    • fetch nginx docker image
      sudo ~/rkt-v1.27.0/rkt --insecure-options=image fetch docker://quay.io/zanui/nginx
    • run an aci image like quay.io/coreos/alpine-sh (see also getting started with rkt tutorial)
      sudo ~/rkt-v1.27.0/rkt run --interactive quay.io/coreos/alpine-sh
      • verify alpine version cat /etc/*release
      • CRTL D to leave the container
    • sudo ~/rkt-v1.27.0/rkt list
      • sample output:
        UUID		APP		IMAGE NAME			STATE	CREATED		STARTED		NETWORKS
        5001a5d9	alpine-sh	quay.io/coreos/alpine-sh:latest	exited	1 minute ago	1 minute ago
        
    • sudo ~/rkt-v1.27.0/rkt status [UUID] e.g. sudo ~/rkt-v1.27.0/rkt status 500
      • sample output:
      state=exited
      created=2017-04-23 06:30:37.453 +0000 UTC
      started=2017-04-23 06:30:37.593 +0000 UTC
      pid=1979
      exited=true
      app-alpine-sh=0
      

In case you have older vagrant boxes, you may use:

  • vagrant box list
  • vagrant box remove rkt-vbox-ansible # specifiy boxname
  • vagrant destroy #(clean up local vagrant boxes)

contributing

  1. Fork this repo, develop and test your code changes.
  2. Submit a pull request including a related section in the readme.

further coreos rocket reading

rocket & kubernetes