summaryrefslogtreecommitdiff
path: root/compose/container.py
Commit message (Collapse)AuthorAge
* Only allow log streaming if logdriver is json-file or journaldJoffrey F2016-09-13
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Prevent unnecessary inspection of containers when created from an inspect.Daniel Nephin2016-04-06
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* implement execTomas Tomecek2016-02-29
| | | | | | Resolves #593 Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
* Make environment variables without a value the same as docker-cli.Daniel Nephin2016-02-23
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* Use 12 characters for the short id to match docker and fix backwards ↵Daniel Nephin2016-02-08
| | | | | | compatibility. Signed-off-by: Daniel Nephin <dnephin@docker.com>
* add support for stop_signal to compose fileJonathan Stewmon2016-01-12
| | | | Signed-off-by: Jonathan Stewmon <jstewmon@rmn.com>
* Fix lookup of linked containers for API version 1.20Daniel Nephin2016-01-05
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* Upgrade tests to use new Mounts in container inspect.Daniel Nephin2016-01-05
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* add restarting status for human_readable_stateJean Praloran2015-12-16
| | | | Signed-off-by: Jean Praloran <jeanpralo@gmail.com>
* Logs are available for all log drivers except for none.Daniel Nephin2015-10-29
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* Move rename functionality into ContainerMazz Mosley2015-10-27
| | | | Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
* Attach to a container's log_stream before they're startedMazz Mosley2015-10-27
| | | | | | | | | | So we're not displaying output of all previous logs for a container, we attach, if possible, to a container before the container is started. LogPrinter checks if a container has a log_stream already attached and print from that rather than always attempting to attach one itself. Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
* Remove unused attach_socket function from Container.Daniel Nephin2015-10-06
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* Fix warning message when a container uses a non-json log driverDaniel Nephin2015-09-11
| | | | Signed-off-by: Daniel Nephin <dnephin@gmail.com>
* Use custom container name in logs. Fixes #1851Karol Duleba2015-09-07
| | | | Signed-off-by: Karol Duleba <mr.fuxi@gmail.com>
* Resolves #1856, fix regression in #1645. Includes some refactoring to make ↵Daniel Nephin2015-08-26
| | | | | | testing easier. Signed-off-by: Daniel Nephin <dnephin@gmail.com>
* Run pre-commit on all filesDaniel Nephin2015-08-24
| | | | Signed-off-by: Daniel Nephin <dnephin@gmail.com>
* Adds pause and unpause-commandsFrank Sachsenheim2015-08-21
| | | | Signed-off-by: Frank Sachsenheim <funkyfuture@riseup.net>
* Ignore containers that don't have a nameAanand Prasad2015-08-10
| | | | | | | | | If a container is in the process of being removed, or removal has failed, it can sometimes appear in the output of GET /containers/json but not have a 'Name' key. In that case, rather than crashing, we can ignore it. Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Implement smart recreate behind an experimental CLI flagAanand Prasad2015-05-18
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Add migration warning and option to migrate to labels.Daniel Nephin2015-05-18
| | | | Signed-off-by: Daniel Nephin <dnephin@gmail.com>
* Resolves #1066, use labels to identify containersDaniel Nephin2015-05-18
| | | | Signed-off-by: Daniel Nephin <dnephin@gmail.com>
* Use individual volumes for recreate instead of volumes_fromDaniel Nephin2015-05-11
| | | | Signed-off-by: Daniel Nephin <dnephin@gmail.com>
* Add support for log-driver in docker-compose.ymlVincent Demeester2015-05-06
| | | | | | Closes #1303 Signed-off-by: Vincent Demeester <vincent@sbr.pm>
* Implement 'labels' optionAanand Prasad2015-04-29
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Fix --timeout flag on restart, add tests for stop and restartAanand Prasad2015-04-21
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Move several steps closer to python3 compatibilityIgor Ch2015-02-28
| | | | Signed-off-by: Igor Ch <usrenmae@gmail.com>
* WIP: rename Fig to ComposeAanand Prasad2015-01-20
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>