Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to restart docker linux

$ sudo systemctl start docker
Comment

docker restart

sudo systemctl restart docker
Comment

restart docker

$ docker restart <container_name>
Comment

docker restart

$ sudo systemctl restart docker.socket docker.service
$ docker rm {container_id}
Comment

restart docker container

docker-compose -f docker-compose.prod.yml down -v
docker-compose -f docker-compose.prod.yml up -d --build
docker-compose -f docker-compose.prod.yml exec web python manage.py migrate --noinput
Comment

PREVIOUS NEXT
Code Example
Shell :: selinux disable 
Shell :: set selinux ubuntu 
Shell :: apt non interactive upgrade 
Shell :: how to check used ports linux 
Shell :: require ext-curl * 
Shell :: fedora spotify 
Shell :: windows check sum 
Shell :: how to generate rsa key in linux 
Shell :: install yarn in ubuntu 
Shell :: how to close a port mac 
Shell :: how to clone my linux so all the installed packages 
Shell :: how to install pyqt5 
Shell :: docker exec logs 
Shell :: how to extract tar.gz file in colab 
Shell :: git setup local user 
Shell :: perl reverse shell 
Shell :: make git project mine 
Shell :: git diff with vimdiff 
Shell :: batch copy silent 
Shell :: ffmpeg shrink video size 
Shell :: how to unlock minimize button on gnome 
Shell :: bash capitalize vowels using tr 
Shell :: powershell get ip from computer name 
Shell :: install node 12 linux 
Shell :: install pecl on mac 
Shell :: tmux how to kill all sessions 
Shell :: settings not showing in ubuntu 
Shell :: install saas 
Shell :: windows port permission denied 
Shell :: zsh: command not found: rvm 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =