Bringing a simple raft cage to the swamp should allow you to easily trap and transport this guy to an appropriate area to knockout and tame.

For some reason (bug?) you can’t be damaged while driving the raft, even when this guy is standing on top of you! (PC)

More Baryonyx Taming & KO Tips