1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Updated Docker Installation (textile)

catborise 2020-01-08 16:04:58 +03:00
parent f31a603eed
commit 920848b0f5

@ -25,10 +25,29 @@ exit()
# Login with: Username admin, password admin
# Change your admin password
# Add new host
# After the first start the container must be started with another command.
First you need to get the id of the container.
<pre><code>docker ps -a</code></pre>
***
Additional Information:
# docker run command creates new container from base image.
# to stop docker container use:
<pre><code>docker stop <container id></code></pre>
# to get cointainer id use:
<pre><code>docker ps -a
or
<pre><code>docker container ls</code></pre>
# Then to start the container use this command:
<pre><code>docker start <docker container id></code></pre>
docker container ls</code></pre>
# After the first run, the container must be started with "start" command.
<pre><code>docker start <container id></code></pre>
***
Update Webvirtcloud
# Enter running container
<pre><code>docker exec -it <container id> /bin/bash</code></pre>
# Run followed commands
<pre><code>cd /srv/webvirtcloud
sudo source venv/bin/activate
git pull
pip install -U -r conf/requirements.txt
python manage.py migrate
</code></pre>
# Check webvirtcloud/settings.py.template to see if there is new configs... If it is, then copy them to webvirtcloud/settings.py file