Skip to content

Commit

Permalink
Update images.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisparnin committed Jun 14, 2019
1 parent e26da2e commit c34d58c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ Create a micro-vm from a Dockerfile. Use `build` command with a directory contai
$ slim build images/alpine3.8-simple
```

![build](doc/img/build.png)

This will add a bootable iso in the slim registry. [See example Dockerfile](https://github.com/ottomatica/slim/tree/master/images/alpine3.8-simple).


### Listing micro-vm images

See a list of micro-vm images on your machine.
Expand All @@ -33,12 +36,22 @@ $ slim images

Provision a new instance of the given micro-vm image as a virtual machine (using virtualbox). Use `-p kvm` or `-p hyperkit` to switch providers.

Using hyperkit (available on macOS).

```
$ slim run micro1 alpine3.8-simple
$ slim run micro1 alpine3.8-simple -p hyperkit
```

![nanobox](doc/img/nanobox.png)

Using virtualbox (default).

```
$ slim run micro1 alpine3.8-simple
```

![nanobox](doc/img/run-vbox.png)

VirtualBox will run the micro-vm instance as an attached iso loaded into a cdrom, and boot up the iso in seconds.

For convenience, a ssh connection command is provided at the end of the command, allowing easy access into the machine:
Expand Down
Binary file added doc/img/build.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/img/run-vbox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c34d58c

Please sign in to comment.