Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-removed custom docker script #452

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,20 @@ Please follow the instructions for your platform:

> According to our tests, at least 1GB of RAM is needed to compile Twister.

Alternatively, you can run Twister on an isolated Linux container, using [Docker](https://www.docker.com/). First, [install Docker on your system](https://docs.docker.com/installation/#installation). Then run:
## Docker

# Leave out the "sudo -E" if you added yourself to the "docker" group
sudo -E ./twister-on-docker run --remote
Alternatively, you can run Twister on an isolated Linux container, using [Docker](https://www.docker.com/):
- [install Docker on your system](https://docs.docker.com/installation/#installation).
- [install docker-compose on your system](https://docs.docker.com/compose/install/)

The above command downloads and runs a [pre-built image](https://registry.hub.docker.com/u/miguelfreitas/twister) from the Docker index. You can also build and run your own container:
The below command downloads and runs a [pre-built image](https://registry.hub.docker.com/u/miguelfreitas/twister) from the Docker index:

sudo -E ./twister-on-docker build
sudo -E ./twister-on-docker run
docker-compose pull && docker-compose up

You can also build and run your own container:

docker-compose build
docker-compose up -d

## License

Expand Down
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: "3.9"
services:
twister-core:
container_name: twister-core
build:
context: .
image: miguelfreitas/twister
ports:
- "28332:28332"
volumes:
- ~/.twister:/root/.twister
57 changes: 0 additions & 57 deletions twister-on-docker

This file was deleted.