Python code not executed by Agent

Hi, I cannot get my agent to execute (agent created) Python code, both in the safe and unsafe mode. I have docker installed and that works well from AutoGen. Anyone with an example project where the agent does execute the code?