Meaning: rely on one source, plan or idea only. The idiom is often used as a warning.
You shouldn’t invest in that company only. It’s risky to put all your eggs in one basket.
I’ve applied for a job at three companies. I don’t want to put all my eggs in one basket.