0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

PodmanでPlantUML Serverを起動してみる

Last updated at Posted at 2020-02-09

環境

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

1.PNG

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?