-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from michaelsevilla/master
docker: add Lua to the container and docs Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
- Loading branch information
Showing
3 changed files
with
53 additions
and
13 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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
GassyFS Docker Image | ||
==================== | ||
|
||
This image has all the packages and environmental settings for building and running GassyFS. It also sets up an SSH daemon in the container that listens on the SSHD_PORT environment variable (by default, port 22). Right now, we run with the `--privileged` flag because the container doesn't export the fuse device properly. If anyone knows how to do this, without passing `--privileged`, let us know. | ||
|
||
We've uploaded an image on Dockerhub [here](https://hub.docker.com/r/michaelsevilla/gassyfs). The commands below pull from this image. | ||
|
||
Quickstart | ||
========== | ||
|
||
Start the container with networking/device privileges and ssh keys: | ||
|
||
```bash | ||
docker run \ | ||
--name gassyfs \ | ||
-d \ | ||
--net=host \ | ||
-e SSHD_PORT=2222 \ | ||
-e AUTHORIZED_KEYS="`cat ~/.ssh/id_rsa.pub`" \ | ||
--privileged \ | ||
-v <PATH-TO-GASSYFS-SRC>/:/gassyfs \ | ||
michaelsevilla/gassyfs | ||
``` | ||
|
||
Build GassyFS: | ||
|
||
```bash | ||
cd /gassyfs | ||
ci/build.sh | ||
``` | ||
|
||
Run the POSIX tests: | ||
|
||
```bash | ||
cd /gassyfs | ||
ci/test.sh | ||
``` | ||
|
||
Build | ||
===== | ||
|
||
From outside the container: | ||
|
||
```bash | ||
cd gassyfs/docker | ||
docker build -t <MYNAME>/gassyfs | ||
``` |
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 was deleted.
Oops, something went wrong.