mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Updated Docker Installation (textile)
parent
f31a603eed
commit
920848b0f5
1 changed files with 25 additions and 6 deletions
|
|
@ -25,10 +25,29 @@ exit()
|
||||||
# Login with: Username admin, password admin
|
# Login with: Username admin, password admin
|
||||||
# Change your admin password
|
# Change your admin password
|
||||||
# Add new host
|
# 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
|
or
|
||||||
<pre><code>docker container ls</code></pre>
|
docker container ls</code></pre>
|
||||||
# Then to start the container use this command:
|
# After the first run, the container must be started with "start" command.
|
||||||
<pre><code>docker start <docker container id></code></pre>
|
<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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue