Andrej Zieger
19733407b4
Add support for --build-arg option
2020-04-22 14:31:00 +03:00
Bao Trinh
e8147e350b
Add support for cap_add/cap_drop
...
Currently, `cap_add` and `cap_drop` are being ignored by podman-compose.
Add the arguments (`--cap-add` and `--cap-drop`, respectively) to
`podman create` when appropriate.
2020-04-22 14:27:33 +03:00
Michael Mraka
7f210ffc43
fixing "Error: unknown flag: --shm_size"
2020-04-21 17:12:11 +03:00
Muayyad alsadi
cbed801c0d
start detached
2020-04-19 03:53:55 +03:00
Muayyad alsadi
6a42d6861d
add ports test
2020-04-18 22:41:06 +03:00
Muayyad alsadi
07a2430c41
Fixes #152 : validate that podman is useable
2020-04-18 22:18:36 +03:00
Muayyad alsadi
5215782cba
Fixes #152 : validate that podman is useable
2020-04-18 22:15:55 +03:00
Muayyad alsadi
80e7ba188d
resolve
2020-04-18 18:46:23 +03:00
Muayyad alsadi
03cbd2929b
pass volumes using -v
2020-04-18 18:39:59 +03:00
Enrico204
796e6a4473
Avoid crash when no services are defined
...
If no services are defined, podman-compose
crashes as services variable is None,
while the expected behavior might be
an error or the same as docker-compose, which will continue the
execution of the compose file (eg. creating networks, etc).
This commit fixes the crash and allows the program to continue, mimicking
docker-compose behavior.
2020-04-05 10:42:31 +03:00
Adam Jones
efcbc75f63
Pass ulimit parameters when building container
...
When running podman-compose build, pass ulimit arguments from
docker-compose.yml through to podman build.
2020-02-27 17:39:33 +02:00
TomSweeneyRedHat
dacc7538ec
Add Code of Conduct
...
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-02-09 01:23:49 +02:00
Christian W
8c3b7e6c54
Added mount option delegated and cached
2019-11-24 10:18:15 +02:00
Maverick
147f0ae42f
Update README with dnf install instructions.
2019-11-24 10:17:23 +02:00
Thomas Coldrick
27d3cafb7b
Add support for privileged option
...
Adds support for the `privileged` option in docker-compose.yml. This has
been supported in docker-compose since 0.4.0, so it seems reasonable to
add support here.
See https://docs.docker.com/compose/compose-file/#domainname-hostname-ipc-mac_address-privileged-read_only-shm_size-stdin_open-tty-user-working_dir
2019-11-17 13:13:03 +02:00
Anass Ahmed
e7a9bd3b70
Show stopped containers in ps
2019-11-10 17:16:02 +02:00
Anass Ahmed
ddd582c861
Add support for logs subcommand
2019-11-10 17:15:36 +02:00
Vincent Rischmann
169eaee9b2
Fix override of the run command
...
If there's no command defined in the arguments, `podman-compose run`
should use the command defined in docker-compose.yml
2019-11-10 17:03:17 +02:00
wampagingwabbits
c5f8973bd5
Mixed-case directory names break 'podman create'
...
The default project_name uses the directory name, but 'podman create' fails if the directory is mixed case.
2019-11-10 17:02:43 +02:00
Muayyad alsadi
12036aa54e
FIXES #76 : a service extends a service with same name
2019-11-07 19:09:32 +02:00
Muayyad alsadi
0fc864ffbe
Merge branch 'devel' of github.com:containers/podman-compose into devel
2019-11-07 18:56:00 +02:00
Muayyad alsadi
7222fdb6e7
exit if not files
2019-11-07 18:55:49 +02:00
Anass Ahmed
bb7120f3ff
Fix stop command runs start instead
2019-10-26 20:45:19 +02:00
Marius Hoch
7ebbe2efc6
Fix KeyErrors encountered with extended services
...
Docker compose file used:
https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/master/view/lib/wikibase-tainted-ref/docker-compose.yml
2019-10-25 16:09:38 +02:00
William José Moreno Reyes
29d4cdc9ab
Remove unused funtion in setup.py
...
Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
2019-10-13 00:31:50 +03:00
Simon Li
a9216c3980
podman volume inspect mountPoint/Mountpoint
...
podman version 1.6.1 volume inspect outputs Mountpoint instead of mountPoint
2019-10-05 23:44:38 +03:00
Muayyad alsadi
e538852dbe
#57 : better ps via label
2019-10-05 22:47:04 +03:00
Aric Renzo
b1c2b0222b
podman_compose.py
2019-10-05 22:38:50 +03:00
Muayyad alsadi
9e0dd2da9d
extends with external file
2019-10-05 22:37:14 +03:00
Marius Hoch
72c1992737
Remove never-shared options.
2019-10-05 22:35:05 +03:00
Marius Hoch
3e2381f040
Support extends
...
https://docs.docker.com/compose/extends/
Doesn't yet support referring to another file.
Needs Python 3.5+ (for merging dicts using **)
2019-10-05 22:35:05 +03:00
Muayyad alsadi
dee813a4b6
#47 : version command
2019-10-04 20:57:07 +03:00
Muayyad alsadi
9684429157
#52 : fix how we split commands
2019-10-04 20:36:30 +03:00
Muayyad alsadi
87e7211ade
#54 : fix ulimits
2019-10-04 20:27:19 +03:00
Mario
72697016f9
Fixed get of ulimit tag, according to docker-compose specification
2019-10-04 20:24:36 +03:00
Marius Hoch
b369073574
Fix podman-compose run command parsing
...
This got confused with the main command (up, down, …),
thus leading to:
cmd = self.commands[cmd_name]
TypeError: unhashable type: 'list'
2019-10-01 13:26:38 +03:00
Lorenzo Benvenuti
62f0cc492c
Changed -l flag to --label in order to be compatible with Podman 1.0.2.dev
2019-10-01 13:25:01 +03:00
Aric Renzo
c152d28af7
Support for generic container-compose format
2019-09-20 23:33:59 +03:00
Muayyad Alsadi
8e43e69c5b
FIX #41 : compare original volume name
2019-09-14 00:32:00 +03:00
Muayyad Alsadi
4c07e875a0
Merge branch 'devel' of github.com:containers/podman-compose into devel
2019-09-13 22:25:52 +03:00
Kevin Elliott
751aaa87f6
Add support for devices in a service
2019-09-13 22:25:26 +03:00
Tyler Ramer
243bdb688d
Add support for setting container ulimit
...
- supports `ulimit: host` or other single value
- As well as `ulimit: [nofile=5000, nproc=5000]` array
- As well as `ulimit: {nofile: 5000, nproc: 5000}` dict
Authored-by: Tyler Ramer <tramer@pivotal.io>
2019-09-13 22:25:26 +03:00
Muayyad Alsadi
d9cd0d6186
Merge branch 'master' of github.com:containers/podman-compose into devel
2019-09-13 22:23:22 +03:00
Muayyad Alsadi
ec06da2265
Merge pull request #38 from tylarb/ulimit
...
Add support for setting container ulimit
2019-09-12 02:00:23 +03:00
Tyler Ramer
2202e7f39b
Add support for setting container ulimit
...
- supports `ulimit: host` or other single value
- As well as `ulimit: [nofile=5000, nproc=5000]` array
- As well as `ulimit: {nofile: 5000, nproc: 5000}` dict
Authored-by: Tyler Ramer <tramer@pivotal.io>
2019-09-11 18:12:29 -04:00
Muayyad Alsadi
f505e499a2
a test showing yaml anchor magic
2019-09-09 00:48:25 +03:00
Muayyad Alsadi
813dc8b149
Merge remote-tracking branch 'origin/master' into devel
2019-09-09 00:18:41 +03:00
Muayyad Alsadi
6f2e5de57c
Merge pull request #37 from thenomemac/patch-3
...
add string check for cmd line args
2019-09-08 20:17:13 +03:00
Josiah Olson
2e4378f7ad
add string check for cmd line args
2019-09-08 12:57:49 -04:00
Muayyad Alsadi
2a8d430c92
FIXES #35 : now support multiple composer files
2019-09-08 02:20:48 +03:00