  The spherically symmetric solutions in Weyl gravity interacting with U(1) or
SU(2) gauge fields are examined. It is shown that these solutions are
conformally equivalent to an infinite flux tube with constant (color) electric
and magnetic fields. This allows us to say that Weyl gravity has in some sense
a classical confinement mechanism. We discuss a possible connection with flux
tubes in quantum chromodynamics.
