Are you trying to use a docker container like a full OS? If so, that isn't their purpose. Compiling, linking, installing stuff while inside a docker container isn't a best practice.

Probably...