docker containers are linux based so CPLEX will work and will be supported by the team.
As long as you follow the license terms and PVU requirements, everything should be fine.
Note that you should use 1 of the last 2 releases (12.10 or 20.1) which are the current supported releases.
------------------------------
Vincent Beraudier
------------------------------