PodmanでPlantUML Serverを起動してみる
環境
Fedora CoreOS 31.20200113.3.1
Podman 1.7.0
Podman Compose 0.1.5
準備
$ sudo sed -i --follow-symlinks 's/SELINUX=enforcing/SELINUX=permissive/g' /etc/sysconfig/selinux
$ sudo reboot
$ sudo rpm-ostree install python3 -r
$ sudo pip3 install podman-compose
$ mkdir -p ~/.local/bin
$ curl -o ~/.local/bin/podman-compose https://raw.githubusercontent.com/containers/podman-compose/devel/podman_compose.py
$ chmod +x ~/.local/bin/podman-compose
ファイル
docker-compose.yml
version: "3.7"
services:
plantuml-server:
image: plantuml/plantuml-server:tomcat
restart: always
ports:
- 8080:8080
実行
$ podman-compose up -d
$ podman ps
podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
35948ca95a91 docker.io/plantuml/plantuml-server:tomcat catalina.sh run 24 seconds ago Up 24 seconds ago 0.0.0.0:8080->8080/tcp plantuml_plantuml-server_1
$ sudo sed -i --follow-symlinks 's/SELINUX=enforcing/SELINUX=permissive/g' /etc/sysconfig/selinux
$ sudo reboot
$ sudo rpm-ostree install python3 -r
$ sudo pip3 install podman-compose
$ mkdir -p ~/.local/bin
$ curl -o ~/.local/bin/podman-compose https://raw.githubusercontent.com/containers/podman-compose/devel/podman_compose.py
$ chmod +x ~/.local/bin/podman-compose
docker-compose.yml
version: "3.7"
services:
plantuml-server:
image: plantuml/plantuml-server:tomcat
restart: always
ports:
- 8080:8080
実行
$ podman-compose up -d
$ podman ps
podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
35948ca95a91 docker.io/plantuml/plantuml-server:tomcat catalina.sh run 24 seconds ago Up 24 seconds ago 0.0.0.0:8080->8080/tcp plantuml_plantuml-server_1
$ podman-compose up -d
$ podman ps
podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
35948ca95a91 docker.io/plantuml/plantuml-server:tomcat catalina.sh run 24 seconds ago Up 24 seconds ago 0.0.0.0:8080->8080/tcp plantuml_plantuml-server_1
Author And Source
この問題について(PodmanでPlantUML Serverを起動してみる), 我々は、より多くの情報をここで見つけました https://qiita.com/rururu_kenken/items/70b17a2814a62f742fe3著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .