Reading a GPIO value from inside a container

Now that I know what the issue is, I found another community post about the same thing.

Everyplace else I’ve used GPIOs, input/output and input edge are used in conjunction. Apparently in gpiod they’re mutually exclusive. And once you call one, you can’t override it by calling the other. What does work is releasing then reacquiring the line if you want to change.