mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-09 06:18:02 +00:00
clean up Docker documentation, add sudo to the the commandlines
This commit is contained in:
parent
2d96c08f49
commit
b6ca41f833
14
README.md
14
README.md
@ -28,17 +28,17 @@ Please follow the instructions for your platform:
|
|||||||
- [Mac OS X](https://github.com/miguelfreitas/twister-core/blob/master/doc/build-osx.md)
|
- [Mac OS X](https://github.com/miguelfreitas/twister-core/blob/master/doc/build-osx.md)
|
||||||
- [Windows (untested)](https://github.com/miguelfreitas/twister-core/wiki/Compiling-for-Windows)
|
- [Windows (untested)](https://github.com/miguelfreitas/twister-core/wiki/Compiling-for-Windows)
|
||||||
|
|
||||||
Or, alternatively, you can run Twister on an isolated Linux container, using [docker](http://docker.io/). Quickstart:
|
> According to our tests, at least 1GB of RAM is needed to compile Twister.
|
||||||
|
|
||||||
# Prepend "sudo -E" if you are not logged in as root
|
Alternatively, you can run Twister on an isolated Linux container, using [Docker](http://docker.io/). First, [install Docker on your system](https://docs.docker.com/installation/#installation). Then run:
|
||||||
./twister-on-docker run --remote
|
|
||||||
|
# Leave out the "sudo -E" if you added yourself to the "docker" group
|
||||||
|
sudo -E ./twister-on-docker run --remote
|
||||||
|
|
||||||
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 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:
|
||||||
|
|
||||||
./twister-on-docker build
|
sudo -E ./twister-on-docker build
|
||||||
./twister-on-docker run
|
sudo -E ./twister-on-docker run
|
||||||
|
|
||||||
> According to our tests, at least 1GB of RAM is needed to compile Twister.
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user