In a pointed category with colimits and limits, we define the cofiber, or cokernel, of a map f:X→Yf: X \to Y to be the coequalizer g:Y→Zg: Y \to Z of ff and the zero map.
nLab page on Cofiber