diff options
Diffstat (limited to 'OS/Fedora/README.md')
-rw-r--r-- | OS/Fedora/README.md | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/OS/Fedora/README.md b/OS/Fedora/README.md index 03b2797..ead1eae 100644 --- a/OS/Fedora/README.md +++ b/OS/Fedora/README.md @@ -1,33 +1,31 @@ # STARTX OS docker-images : Fedora +Fedora + ## Running from docker registry - # docker run -d -p 22022:22 --name="test-fedora" -e VIRTUAL_HOST=fedora.project.startx.fr startx/fedora + # docker run -it startx/fedora bash -## Running from local Dockerfile +## Build and run from local Dockerfile ### Building docker image Copy the sources to your docker host - # mkdir startx-docker-images; - # git clone https://github.com/startxfr/docker-images.git startx-docker-images/ - # cd startx-docker-images/OS/Fedora/ + # mkdir startx-docker-images; + # cd startx-docker-images; + # git clone https://github.com/startxfr/docker-images.git . and build the container - # docker build --rm -t <username>/fedora . + # docker build --rm -t yourname/fedora OS/Fedora/ ### Running local image - # docker run -d -p 22022:22 --name="test-fedora" -e VIRTUAL_HOST=fedora.project.startx.fr <username>/ssh - -## Accessing server - - # ssh root@localhost + # docker run -it yourname/fedora bash ## Related Resources * [Sources files](https://github.com/startxfr/docker-images/tree/master/OS/Fedora) * [Github STARTX profile](https://github.com/startxfr/docker-images) * [Docker registry for this container](https://registry.hub.docker.com/u/startx/fedora/) -* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/ssh/) +* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/) |