Oil canisters start out empty when they are first crafted. To fill the canister, have the canister in your inventory and use a Portable Oil Extractor to extract it.
Once filled, the Oil Canister can be used to fill the Refinery to create Fuel.
Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.