Is it free to download an Oracle Enterprise Edition image from Docker?
Try downloading the official (example?) Docker image from Oracle.
Oracle has put many things on GitHub. Docker images are one of them.
https://github.com/oracle/docker-images/tree/master/OracleDatabase

Licensing questions are off topic for this site. But (AFAIK), for educational purpose only, you can use EE for free.