cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
162
Views
0
Helpful
0
Replies
dal
Participant
Participant

phpmyadmin from Docker Hub - problems

Hi

Is IOX 100% Docker compatible?

I'm trying to run phpmyadmin as a docker from my Catalyst 9300 (running v17.03.01).

I pull the image from here: https://hub.docker.com/r/phpmyadmin/phpmyadmin

Saving it, and uploading it to usbflash1:

After running
app-hosting install appid phpmyadmin package usbflash1:phpmyadmin.tar
it does not show up when i run the command:

show app-hosting list

But I can still activate and start it. But it never shows up in any list.. in CLI. I cannot uninstall it either, since the switch claim the appid does not exist. BUT in the switch Web UI it does show up.. strange.

I said I could start it up, but only without arguments.

If I add arguments like this:
app-resource docker
run-opts 1 "-e PMA_HOST=1.1.1.1-p 8080:80 phpmyadmin"
it does not work.
I'm not able to start it, and the CLI does not give me an error.

The Web GUI does, however, and it looks like this:

2020-09-21 08:30:08,495 [pdservices:ERROR] [Thread-11] [lifecycle_hooks.py:162 - _call_hook_script()] Error returned by post-stop hook /opt/cisco/caf/scripts/guestshell_setup.sh: returncode: 127, message: /bin/sh: 5A52880781F755608BF815FC910DEB46F53EA312: command not found

What can be causing this?

The first docker app I tried (IPerf) worked like a charm. This one, not so much.

Here is the full appid settings from the switch:

app-hosting appid phpmyadmin
app-vnic AppGigabitEthernet trunk
vlan 2 guest-interface 1
guest-ipaddress 10.2.100.211 netmask 255.255.255.0
app-default-gateway 10.2.100.1 guest-interface 1
app-resource docker
run-opts 1 "-e PMA_HOST=1.1.1.1 -p 8080:80 phpmyadmin:latest"

 

Thanks.

 

 

 

0 REPLIES 0
Content for Community-Ad

This widget could not be displayed.