mirror of https://github.com/docker/compose.git
Update bundle extension
It's now .dab, for Distributed Application Bundle Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
85e3ad2655
commit
72849d99c0
|
@ -217,7 +217,7 @@ class TopLevelCommand(object):
|
|||
|
||||
def bundle(self, config_options, options):
|
||||
"""
|
||||
Generate a Docker bundle from the Compose file.
|
||||
Generate a Distributed Application Bundle (DAB) from the Compose file.
|
||||
|
||||
Images must have digests stored, which requires interaction with a
|
||||
Docker registry. If digests aren't stored for all images, you can pass
|
||||
|
@ -231,14 +231,14 @@ class TopLevelCommand(object):
|
|||
--fetch-digests Automatically fetch image digests if missing
|
||||
|
||||
-o, --output PATH Path to write the bundle file to.
|
||||
Defaults to "<project name>.dsb".
|
||||
Defaults to "<project name>.dab".
|
||||
"""
|
||||
self.project = project_from_options('.', config_options)
|
||||
compose_config = get_config_from_options(self.project_dir, config_options)
|
||||
|
||||
output = options["--output"]
|
||||
if not output:
|
||||
output = "{}.dsb".format(self.project.name)
|
||||
output = "{}.dab".format(self.project.name)
|
||||
|
||||
with errors.handle_connection_errors(self.project.client):
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue