ip netns add ns1 ip netns add ns2
ip link add veth0 type veth peer name veth1
ip link set veth0 netns ns1 ip link set veth1 netns ns2
Dokcer most useful commands
remove commands
sudo docker system prune -f
docker volume rm $(docker volume ls -q) -f
docker network rm $(docker network ls -q) -f
Ctrl + Shift + A |
sudo docker build . | |
sudo docker-compose up | |
sudo docker-compose down | |
sudo docker-compose -d --build | |
sudo docker-compose exec web python manage.py migrate | |
sudo docker exec web [cmd] | |
FROM python:3.7-slim |
{ | |
//https://ourcodeworld.com/articles/read/505/how-to-disable-autocompletion-and-intellisense-in-microsoft-visual-studio-code | |
// OPTIONAL WORD WRAPPING | |
// Controls if lines should wrap. The lines will wrap at min(editor.wrappingColumn, viewportWidthInColumns). | |
"editor.wordWrap": "off", | |
// Controls the indentation of wrapped lines. Can be one of 'none', 'same' or 'indent'. | |
"editor.wrappingIndent": "none", | |
// TURN OFF AUTOCOMPLETION |
<div class="container"> | |
<div class="card"> | |
<div class="card-header"> | |
Invoice | |
<strong>01/01/01/2018</strong> | |
<span class="float-right"> <strong>Status:</strong> Pending</span> | |
</div> | |
<div class="card-body"> | |
<div class="row mb-4"> |
sudo lsof -t -i tcp:8000 | xargs kill -9 | |
https://stackoverflow.com/questions/17780291/python-socket-error-errno-98-address-already-in-use |
2 .sudo apt install git python3-pip build-essential wget python3-dev python3-venv python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less postgresql | |
3. pip3 install -r requirements.txt | |
Step By Step Guide to Install Odoo12 with pycharm: | |
Open the terminal and execute below commands step-by-step: |