Comments (2)
upstream podman has been fixed, and works, but I can still not run it via podman-compose...
The podman command executed:
podman run --name=eportal_eportal_1 -d --pod=eportal --label io.podman.compose.config-hash=123 --label io.podman.compose.project=eportal --label io.podman.compose.version=0.0.1 --label com.docker.compose.container-number=1 --label com.docker.compose.service=eportal -e REDIS_URL=redis://redis -e DATABASE_URL=mysql://mysql:3306/eportal_dev -e MAILER_URL=smtp://test:test@mailhog:1025 -e COMPOSER_HOME=/tmp -e MERCURE_PUBLISH_URL=http://localhost:8088/hub -e MERCURE_INTERNAL_URL=http://mercure/hub --env-file /home/.../.env --mount type=bind,source=/home/.../.,destination=/var/www --add-host mailhog:127.0.0.1 --add-host eportal_mailhog_1:127.0.0.1 --add-host eportal:127.0.0.1 --add-host eportal_eportal_1:127.0.0.1 --add-host redis:127.0.0.1 --add-host eportal_redis_1:127.0.0.1 --add-host mysql:127.0.0.1 --add-host eportal_mysql_1:127.0.0.1 --add-host mercure:127.0.0.1 --add-host eportal_mercure_1:127.0.0.1 richard87/php-base:7.4rc5
Podman works:
Projects/skil/eportal on master ➜ podman run --rm -it -p 8888:8000 richard87/php-base:v7.3.5 apache2-foreground
AH00112: Warning: DocumentRoot [/var/www/public] does not exist
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.0.2.100. Set the 'ServerName' directive globally to suppress this message
AH00112: Warning: DocumentRoot [/var/www/public] does not exist
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.0.2.100. Set the 'ServerName' directive globally to suppress this message
[Sun Nov 24 16:19:57.980550 2019] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.25 (Debian) PHP/7.3.5 configured -- resuming normal operations
[Sun Nov 24 16:19:57.980583 2019] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
10.0.2.2 - - [24/Nov/2019:16:20:03 +0100] "GET / HTTP/1.1" 404 492 "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0"
10.0.2.2 - - [24/Nov/2019:16:20:03 +0100] "GET /favicon.ico HTTP/1.1" 404 502 "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0"
^C[Sun Nov 24 16:20:12.703793 2019] [mpm_prefork:notice] [pid 1] AH00169: caught SIGTERM, shutting down
Podman-compose fails:
Projects/skil/eportal on master ➜ podman logs -f eportal_eportal_1
AH00557: apache2: apr_sockaddr_info_get() failed for 1ea20dea64da
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
(13)Permission denied: AH00091: apache2: could not open error log file /var/log/apache2/error.log.
AH00015: Unable to open logs
AH00557: apache2: apr_sockaddr_info_get() failed for 1ea20dea64da
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
(13)Permission denied: AH00091: apache2: could not open error log file /var/log/apache2/error.log.
AH00015: Unable to open logs
from podman-compose.
Ps, I'm running version:
Projects/skil/eportal on master ➜ podman-compose version
podman-composer version 0.1.6dev
podman --version
podman version 1.6.2
0
Projects/skil/eportal on master ➜ crun --version
crun version 0.10.6
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL
Projects/skil/eportal on master ➜ runc --version
runc version 1.0.0-rc8+dev
commit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
spec: 1.0.1-dev
Projects/skil/eportal on master ➜
from podman-compose.
Related Issues (20)
- Building or Running a Service Fails Without Explicit Profile
- Environment variables defined in compose file are included in image build
- Upgrade `podman-compose` to the latest version in pip and Homebrew HOT 1
- Unable to start containers with userns on v1.1.0 HOT 2
- podman multiple erros starting container HOT 1
- podman-compose 1.1.0 no longer loads env file in the same directory with compose.yaml when using `-f` HOT 1
- Podman-compose mount volume incorrectly under Windows with podman machine on WSL
- Required variable syntax ("${BAR:?BAR variable missing}") not resolved when not in quotation marks since v1.1.0 (in command)
- multiple include cannot be done
- Wrongly relative path by include HOT 1
- Update the pypi version to 1.1.0 because the 1.0.6 version does not support the Compose specification for env_file HOT 6
- Codespelling tests no longer work HOT 1
- podman-compose did not process ipvlan_mode option in the docker-compose.
- Overlay Volume Mounts not working
- TypeError in podman_compose.py container_to_args HOT 1
- missing or incorrect use of --in-pod and pod-args HOT 8
- Make PodmanCompose.prefer_volume_over_mount configurable
- When no network is specified and using network_mode: host, it will use unexpected default network
- Repeated wait time options when using `podman-compose stop` HOT 1
- Typo in error message for x-podman.gidmap HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from podman-compose.