Thanks for reaching out to Q&A.
We can containerize the logic app to a docker container only during creation either via VScode or from Azure portal. However the logic app cannot run in docker if it is already created ( as a workflow).
How to run Logic Apps in a Docker container : https://microsoft.github.io/AzureTipsAndTricks/blog/tip311.html
Portal during creation :
I hope this helps!
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.