Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to restart docker linux

$ sudo systemctl start docker
Comment

docker restart

sudo systemctl restart docker
Comment

restart docker daemon

#Flush changes and restart Docker
sudo systemctl daemon-reload
sudo systemctl restart docker
Comment

docker restart container

docker restart CONTAINER_ID
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

docker restart always

docker update --restart unless-stopped redis
Comment

PREVIOUS NEXT
Code Example
Shell :: start fast api server 
Shell :: poetry python install 
Shell :: git rename master branch to main 
Shell :: kubernetes command line to scale down pods 
Shell :: composer install debian 
Shell :: loopback cli 
Shell :: cisco copy running config 
Shell :: change user default shell 
Shell :: cut tab linux 
Shell :: kill a process with pid 
Shell :: setup virtualenv python windows 
Shell :: kubectl neat 
Shell :: mount cifs ubuntu 
Shell :: install python 3.10 linux (multiple python versions) 
Shell :: how to remove non empty dircetory 
Shell :: how to save history of commands in linux 
Shell :: htaccess deny all but 
Shell :: grep not 
Shell :: How to use Github Personal Access Token in Jenkins 
Shell :: docker pack image to file 
Shell :: docker install ubuntu 22.04 
Shell :: directory current in bash 
Shell :: add windows service powershell 
Shell :: export bigquery schema 
Shell :: change current branch git 
Shell :: react native map install npm 
Shell :: prittier download ubuntu 
Shell :: install express.js 
Shell :: how to install homebrew on macos 
Shell :: reboot ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =