Canister's controller

dfx canister --network=ic create xxxxx
dfx build --network=ic build --all
dfx canister --network=ic install --all

Only controllers of canister xxx can call ic00 method install_code

So, why i’m not the controller of the xxx

Are you by any chance on a dfx version <0.9.3 ?

Does this fix it? Deploy a "Hello World" Dapp in 10 Minutes | Internet Computer Developer Portal
Section 5, subsection ‘Troubleshooting’, step 3