docker-compose


Disable autostart of docker-compose project


I have a docker-compose project using Docker for Mac that autostarts when I boot the computer.
I usually start the project with docker-compose up -d, but even running docker-compose stop before shutting down autostarts it again on boot.
I am not aware of specifically enabling this. How can I disable it?
Today I had the same issue that all containers are started when I boot my dev laptop, as restart: always was set in the .yml files.
As I don't want to touch the .yml files, I just found out (thx Bobby) how to alter this setting by:
docker update --restart=no <MY-CONTAINER-ID>

Related Links

docker-compose restart container if service is dead
Swarm scheduling not working as expected using filters in compose file
issues in buiding Slate with Docker
Invalid type error in Docker Compose
Django cookiecutter with Docker add pip package
Docker Compose + Swarm + Machine Networking issue
docker-compose build image parameters --force-rm --pull
linking 2 containers through docker compose
Files created by manage.py commands not chown'd from root user
Is it possible to create an intermediate image within docker-compose?
docker-compose service listen on specified interface
Does Docker-Compose allow overwriting of ports when using extends?
Jhipster Docker-compose conflict
Build multiple images with Docker Compose?
JHipster Cassandra Docker Build
Defining project name inside docker-compose configuration

Categories

HOME
asp.net
oracle-sqldeveloper
salesforce
cors
mysqli
azure-eventhub
aix
intellisense
ebay-api
jquery-plugins
okhttp3
google-docs-api
docker-compose
schema
pip
unreal-engine4
solidity
mongodb-replica-set
opendaylight
smali
ps
my.cnf
deployment-descriptor
jopendocument
emr
units-of-measurement
restangular
javapns
paper-trail-gem
rtos
traitsui
dom4j
framebuffer
instances
tapply
flume-ng
qt-quick
wufoo
intervention
yank
xmldom
visualizer
androiddesignsupport
esprima
lattice
firebase-job-dispatcher
racket-student-languages
settext
virtualenvwrapper
boost-bind
angular-i18n
usps
ooad
oryx
videoview
askbot
taverna
roslyn-code-analysis
eaaccessory
tokudb
vectordrawable
conkeror
fxmlloader
register-allocation
react-os
go-gin
step
visual-studio-setup-proje
azure-caching
pidgin
internet-radio
code-complete
google-oauth-java-client
fade
ie-developer-tools
oc4j
record-locking
panelgrid
string-length
correctness
shapado
mvcmailer
nsundomanager
xpolog
file-processing
hwnd
lwp
http-response-codes
fxcopcmd
viewdata
uccapi
data-formats
ihtmldocument2

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App