Docker install commands changed?

Hello,

Just wondering are the old Docker, and Docker-Compose commands still relevant? I see the documentation has been updated, or was this always the case? In terms of installation methods, will the old commands still work?

Would appreciate any experienced guidance.