Skip to main content
Participant
Aug 29, 2023 10:57 PM UTC
Answered

Deploying coldfusion2023 with podman

I am attempting to deploy ColdFusion 2023 containerized with podman in a podman pod along side a MySQL podman container.  The goal is to have a rootless deploy on a VM.  I have succesfully deployed a test with docker-compose in a local docker-desktop environment but when I try to do this on the VM with the following commands I get an error in the Admin console -> Enterprise Manager -> Instance Manager "webcamp_pod: Name or service not known".  I feel like I'm missing a setting somewhere.  Any suggestions or help would be appreciated.

 

podman pod create --network host --name webcamp_pod

podman build -t wc_mysql_db -f=docker_files/Containerfile.mysql .

podman run -d --pod webcamp_pod --name wc_mysql_db wc_mysql_db:latest

podman build -t webcamp_dev -f=docker_files/Containerfile.dev.app .

podman run -d --name webcamp_dev -p 8500:8500 --pod webcamp_pod webcamp_dev:latest

 

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Jed298412568h1nCorrect answer
    Participant
    Sep 1, 2023 9:27 PM UTC

    Solution: I solved the problem myself. Here are the sequence of commands.

     

    podman pod create -p 8500:8500 --name webcamp_pod

    podman build -t wc_mysql_db -f=docker_files/Containerfile.mysql .

    podman run -dt --pod webcamp_pod --name wc_mysql_db wc_mysql_db:latest

    podman build -t webcamp_dev -f=docker_files/Containerfile.dev.app .

    podman run -dt --name webcamp_dev --pod webcamp_pod webcamp_dev:latest

     

    There seems to have been two issues 1. assign the port in the pod not the run container command. 2. adding the t flag in the run command

    1 reply

    Jed298412568h1nAuthorCorrect answer
    Participant
    Sep 1, 2023 9:27 PM UTC

    Solution: I solved the problem myself. Here are the sequence of commands.

     

    podman pod create -p 8500:8500 --name webcamp_pod

    podman build -t wc_mysql_db -f=docker_files/Containerfile.mysql .

    podman run -dt --pod webcamp_pod --name wc_mysql_db wc_mysql_db:latest

    podman build -t webcamp_dev -f=docker_files/Containerfile.dev.app .

    podman run -dt --name webcamp_dev --pod webcamp_pod webcamp_dev:latest

     

    There seems to have been two issues 1. assign the port in the pod not the run container command. 2. adding the t flag in the run command

    Translate