mirror of
https://github.com/retspen/webvirtcloud
synced 2026-03-21 10:04:51 +00:00
Updated Docker Installation (textile)
parent
68dbfeacff
commit
4ec88bc32c
1 changed files with 6 additions and 6 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
Install Docker : "Docker Installation Guide":https://docs.docker.com/install/linux/docker-ce/centos/
|
Install Docker : "Docker Installation Guide":https://docs.docker.com/install/linux/docker-ce/centos/
|
||||||
|
|
||||||
Steps:
|
Steps:
|
||||||
# git clone https://github.com/retspen/webvirtcloud.git
|
# <pre><code>git clone https://github.com/retspen/webvirtcloud.git</code></pre>
|
||||||
# cd webvirtcloud/
|
# <pre><code>cd webvirtcloud/</code></pre>
|
||||||
# cp webvirtcloud/settings.py.template webvirtcloud/settings.py
|
# <pre><code>cp webvirtcloud/settings.py.template webvirtcloud/settings.py</code></pre>
|
||||||
# Generate random number:
|
# Generate random number:
|
||||||
<pre><code>
|
<pre><code>
|
||||||
python
|
python
|
||||||
|
|
@ -17,8 +17,8 @@ print(''.join([random.SystemRandom().choice(haystack) for _ in range(50)]))
|
||||||
exit()
|
exit()
|
||||||
</code></pre>
|
</code></pre>
|
||||||
# copy 'generated code' and paste it to webvirtcloud/settings.py as SECRET_KEY = ''
|
# copy 'generated code' and paste it to webvirtcloud/settings.py as SECRET_KEY = ''
|
||||||
# docker build -t retspen/webvirtcloud:0.1 .
|
# <pre><code>docker build -t retspen/webvirtcloud:0.1 .</code></pre>
|
||||||
# docker run -d -p 80:80 -p 6080:6080 retspen/webvirtcloud:0.1
|
# <pre><code>docker run -d -p 80:80 -p 6080:6080 retspen/webvirtcloud:0.1</code></pre>
|
||||||
# Run browser enter host url with http.
|
# Run browser enter host url with http.
|
||||||
# Login with: Username admin, password admin
|
# Login with: Username admin, password admin
|
||||||
# Change your admin password
|
# Change your admin password
|
||||||
|
|
@ -29,4 +29,4 @@ First you need to get the id of the container.
|
||||||
or
|
or
|
||||||
<pre><code>docker container ls</code></pre>
|
<pre><code>docker container ls</code></pre>
|
||||||
# Then to start the container use this command:
|
# Then to start the container use this command:
|
||||||
<pre><code>docker start "docker container id"</code></pre>
|
<pre><code>docker start <docker container id></code></pre>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue