diff options
author | startxfr <clarue@startx.fr> | 2015-11-28 05:57:08 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2015-11-28 05:57:08 +0100 |
commit | d2b8afc1f219e3db7c776a17c0f03128476ddefa (patch) | |
tree | c227b2093ed65b18c81a2706c6d386a5e7d37f7a /OS/README.md | |
parent | ce30e623a04eb19828be26585dba984c68fbf0ec (diff) | |
download | phpmyadmin-d2b8afc1f219e3db7c776a17c0f03128476ddefa.tar.gz phpmyadmin-d2b8afc1f219e3db7c776a17c0f03128476ddefa.tar.bz2 phpmyadmin-d2b8afc1f219e3db7c776a17c0f03128476ddefa.tar.xz phpmyadmin-d2b8afc1f219e3db7c776a17c0f03128476ddefa.zip |
switching to fedora 23 in master. Start adding docker-compose support
Diffstat (limited to 'OS/README.md')
-rw-r--r-- | OS/README.md | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/OS/README.md b/OS/README.md new file mode 100644 index 0000000..150ba21 --- /dev/null +++ b/OS/README.md @@ -0,0 +1,51 @@ +# STARTX OS docker-images : Fedora + +Fedora image builded with minimal and updated rpm and core-utils loaded + +## Running from docker registry + + docker run -it --name="fedora" startx/fedora + +## Build and run from local Dockerfile +1. Building docker image + + # Step 1 : Copy sources in your docker host + mkdir startx-docker-images; + cd startx-docker-images; + git clone https://github.com/startxfr/docker-images.git . + # Step 2 : Build the container + docker build -t fedora OS/ + +2. Running local image + + docker run -it --name="fedora" fedora bash + + +## Building and running using docker-compose +1. Building from source + + # Step 1 : Copy sources in your docker host + mkdir startx-docker-images; + git clone https://github.com/startxfr/docker-images.git startx-docker-images; + cd startx-docker-images/OS; + # Step 2 : Build the container + docker-compose build; + +2. Running this service + + docker-compose up -d; + docker-compose logs; + +## Accessing server + + # Start interactive shell + docker run -it startx/fedora bash + # Start as a daemon + docker run -d startx/fedora bash + docker exec -it fedora /bin/bash + +## Related Resources +* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/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/)
\ No newline at end of file |