-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added references to sys container images in public Nestybox DockerHub…
… repo. The Nestybox DockerHub repo now has public sys container images that make it easy for customers to run a sys container. This change updates the sysboxd documentation appropriately, and adds the Dockerfiles for the images. Added contact info to sysboxd README file.
- Loading branch information
1 parent
5b0bdd3
commit f578320
Showing
5 changed files
with
119 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -273,6 +273,11 @@ $ sudo rmmod nbox_shiftfs | |
$ sudo userdel sysboxd | ||
``` | ||
|
||
## Contact | ||
|
||
Please contact us at `[email protected]` for any questions. We will | ||
be happy to help. | ||
|
||
## Thank You! | ||
|
||
We thank you **very much** for using Sysboxd. We hope you find it useful. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
Nestybox System Container Dockerfiles | ||
===================================== | ||
|
||
This directory contains the Dockerfiles for system container images | ||
uploaded to the Nestybox public repos on DockerHub. | ||
|
||
Feel free to copy them and modify them to your needs, or source them | ||
from within your Dockerfiles. | ||
|
||
# Pulling a Nestybox system container image from DockerHub | ||
|
||
For example, to run the system container image that contains Ubuntu Disco + Docker, simply type: | ||
|
||
```bash | ||
$ docker run --runtime=sysbox-runc -it nestybox/ubuntu-disco-docker:latest | ||
``` | ||
|
||
# Customizing the system container to your needs | ||
|
||
Two approaches: either source the Nestybox image from within your own | ||
Dockerfile, or copy the Nestybox Dockerfile and modify it. | ||
|
||
The former approach makes sense if you wish to leverage the entire image. | ||
|
||
The latter approach makes sense if there is some instruction within the | ||
Nestybox Dockerfile that you wish to change. | ||
|
||
## Sourcing the Nestybox Image | ||
|
||
Simply add this at the beginning of your Dockerfile | ||
|
||
```bash | ||
FROM nestybox/ubuntu-disco-docker:latest | ||
``` | ||
|
||
Then add your instructions to the Dockerfile. | ||
|
||
Then build the image and tag it: | ||
|
||
```bash | ||
$ docker build . | ||
$ docker tag <image-tag> my-custom-syscont:latest | ||
``` | ||
|
||
And run it with: | ||
|
||
```bash | ||
$ docker run --runtime=sysbox-runc -it my-custom-syscont:latest | ||
``` | ||
|
||
You can then push the image to your own container image repo for later re-use. | ||
|
||
## Copy the Dockerfile, modify it, and build a new image | ||
|
||
First, copy the Nestybox Dockerfile to some directory, `cd` to that directory, and modify it per your needs. | ||
|
||
Then build the image and tag it: | ||
|
||
```bash | ||
$ docker build . | ||
$ docker tag <image-tag> my-custom-syscont:latest | ||
``` | ||
|
||
And run it with: | ||
|
||
```bash | ||
$ docker run --runtime=sysbox-runc -it my-custom-syscont:latest | ||
``` | ||
|
||
You can then push the image to your own container image repo for later re-use. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# | ||
# Debian Stretch + Docker | ||
# | ||
# Instructions for docker installation taken from: | ||
# https://docs.docker.com/install/linux/docker-ce/debian/ | ||
# | ||
|
||
FROM debian:stretch | ||
RUN apt-get update | ||
|
||
# Docker install | ||
RUN apt-get install -y \ | ||
apt-transport-https \ | ||
ca-certificates \ | ||
curl \ | ||
gnupg2 \ | ||
software-properties-common | ||
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - | ||
RUN apt-key fingerprint 0EBFCD88 | ||
RUN add-apt-repository \ | ||
"deb [arch=amd64] https://download.docker.com/linux/debian \ | ||
$(lsb_release -cs) \ | ||
stable" | ||
RUN apt-get update | ||
RUN apt-get install -y docker-ce docker-ce-cli containerd.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters