forked from extern/podman-compose
version 1.0.6
This commit is contained in:
parent
dfb64d884d
commit
f6dbce3618
13
README.md
13
README.md
@ -63,19 +63,6 @@ Or latest development version from GitHub:
|
|||||||
pip3 install https://github.com/containers/podman-compose/archive/devel.tar.gz
|
pip3 install https://github.com/containers/podman-compose/archive/devel.tar.gz
|
||||||
```
|
```
|
||||||
|
|
||||||
or
|
|
||||||
|
|
||||||
```
|
|
||||||
curl -o /usr/local/bin/podman-compose https://raw.githubusercontent.com/containers/podman-compose/devel/podman_compose.py
|
|
||||||
chmod +x /usr/local/bin/podman-compose
|
|
||||||
```
|
|
||||||
|
|
||||||
or inside your home
|
|
||||||
|
|
||||||
```
|
|
||||||
curl -o ~/.local/bin/podman-compose https://raw.githubusercontent.com/containers/podman-compose/devel/podman_compose.py
|
|
||||||
chmod +x ~/.local/bin/podman-compose
|
|
||||||
```
|
|
||||||
|
|
||||||
or install from Fedora (starting from f31) repositories:
|
or install from Fedora (starting from f31) repositories:
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ except ImportError:
|
|||||||
import yaml
|
import yaml
|
||||||
from dotenv import dotenv_values
|
from dotenv import dotenv_values
|
||||||
|
|
||||||
__version__ = "1.0.4"
|
__version__ = "1.0.6"
|
||||||
|
|
||||||
script = os.path.realpath(sys.argv[0])
|
script = os.path.realpath(sys.argv[0])
|
||||||
|
|
||||||
@ -342,7 +342,7 @@ def norm_ulimit(inner_value):
|
|||||||
|
|
||||||
|
|
||||||
def transform(args, project_name, given_containers):
|
def transform(args, project_name, given_containers):
|
||||||
if args.no_pod:
|
if not args.in_pod:
|
||||||
pod_name = None
|
pod_name = None
|
||||||
pods = []
|
pods = []
|
||||||
else:
|
else:
|
||||||
@ -1663,9 +1663,10 @@ class PodmanCompose:
|
|||||||
def _init_global_parser(parser):
|
def _init_global_parser(parser):
|
||||||
parser.add_argument("-v", "--version", help="show version", action="store_true")
|
parser.add_argument("-v", "--version", help="show version", action="store_true")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--no-pod",
|
"--in-pod",
|
||||||
help="disable pod creation",
|
help="pod creation",
|
||||||
action="store_true",
|
metavar="in_pod",
|
||||||
|
type=bool,
|
||||||
default=False,
|
default=False,
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
Loading…
Reference in New Issue
Block a user