-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: Support network aliases #88
Comments
Does this problem still exist? I am not able to start a container using aliases with podman-compose at the moment...
Using the following compose.yaml:
|
quote from podman manpage
so regarding version: "3.9"
services:
mariadb:
image: mariadb:10.6
networks:
system:
aliases:
- sysdb
web:
aliases:
- webdb
networks:
default:
name: "system"
web: @rhatdan do you suggest a specific sequence of podman commands
|
@Schlumpf9 I've just pushed a fix that handles dicts and fixes KeyError your case would work because in both it's called db |
I cannot even use network alias at all.
|
@crazytaxi824 you are not using latest code, please upgrade to latest code using
|
@muayyad-alsadi thanks a lot. |
This seems to fix the problem. It would be great if this could be released some time in the future so distributions could add this fix to their repositories. It seems the last release happened last december :) |
Yep would if good if this could be released. Had to use the devel one to get it to work. |
Hi, |
I was very busy lately but the reason I did not release the branch there is a breaking change regarding putting all containers in a single pod or not. undo that or make it default to "in_1pod=false" then make a minor release |
A
docker-compose.yml
file may define one or more aliases for a container, such that other containers in the same compose can use those aliases rather than the container name to resolve its ip address. E.g. from the documentation:Support this in
podman-compose
would permit a wider range ofdocker-compose
setups to be used without modification.This would require containers/podman#4530 to be implemented first.
The text was updated successfully, but these errors were encountered: