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

docker --restart example

# To limit retart attempt, add [:int]
docker run -d --restart=on-failure:3
Comment

PREVIOUS NEXT
Code Example
Shell :: npm ganache 
Shell :: update yarn global 
Shell :: how to install admin-lte with npm 
Shell :: perl reverse shell 
Shell :: Install Nginx, MariaDB and PHP centos rhel 
Shell :: sveltekit normalize css 
Shell :: org.apache.spark.api.python.PythonUtils.getPythonAuthSocketTimeout ubuntu 
Shell :: git reset to a file 
Shell :: bash timout 
Shell :: git update on linux 
Shell :: bash: pipe all out and error to file 
Shell :: brew install eb cli 
Shell :: install pi hole cmd 
Shell :: reload shell command 
Shell :: how to stop docker service windows 
Shell :: install firewalld ubuntu 20.04 
Shell :: move hidden files linux 
Shell :: install node 12 linux 
Shell :: install protonvpn on linux mint 
Shell :: alpine linux install lsof 
Shell :: ubuntu epub reader 
Shell :: yarn test only one file 
Shell :: windows temp dir 
Shell :: How to install Git in Ubuntu? 
Shell :: git remove from from repo and stop tracking 
Shell :: files to 644 folder to 775 
Shell :: linux shell script print environment variables 
Shell :: react-devtools agent got no connection 
Shell :: cassandra get table size 
Shell :: android init emulator with cli 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =