Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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 :: service logs realtime 
Shell :: how to apply password to folder and file shell scripting in linux 
Shell :: pushing things to git 
Shell :: pip increase timeout duration 
Shell :: powershell show wlan password 
Shell :: commit specific file in git 
Shell :: docker in linux 
Shell :: CocoaPods could not find compatible versions for pod FlipperKit 
Shell :: how to ssh linux 
Shell :: ufw rules 
Shell :: git remove keep local 
Shell :: ansible max hosts? 
Shell :: what is force checkout in git 
Shell :: passphrase 
Shell :: How to Install and Configure doctl on Ubuntu 
Shell :: zip file in terminal 
Shell :: git The requested URL returned error: 403 
Shell :: install lru 
Shell :: There are not enough slots available in the system to satisfy the 5 slots that were requested by the application 
Shell :: ibus ubuntu 22.04 not working 
Shell :: white sur icon theme for ubuntu 22.04 
Shell :: Ubuntu 22.04 acer no wifi interface 
Shell :: cut command in powershell windows 
Shell :: git commit remove and restore 
Shell :: Roughly list out the background processs being run using nohup on linux server 
Shell :: ubuntu fresh install deps 
Shell :: heroku config:set NPM_CONFIG_PRODUCTION=false YARN_PRODUCTION=false ERROR 
Shell :: remove a complete directory 
Shell :: reminder to push to git 
Shell :: "mkdir -p" exemple 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =