The egg would be fine in a 10g, but once it hatches I would get at least a 20g long or 40g breeder to allow you access to get it eating and some space for it to swim. I would avoid sand and keep it bare bottom, and pick up a bunch of freshwater ghost shrimp to keep on hand I a bucket with a air sponge and some frozen squid to cut into tiny strips. Get some long tweezers to target feed. Initially your hand and fingers might be a little intimidating to target feed with.
That shark will outgrow a 40g breeder in less than 6 months to a year. They jump so get a lid. They also like to go into overflows and into the sump if small enough so put some mesh on an overflow if you have one in a future tank.
People always comment how these sharks aren't swimmers, but in my experience when you have the swim space, they are out swimming and not hiding all the time. It's a great shark to keep, but a standard 8' 300g wide will prob even be two small for it in two years.
I gave away my favorite bamboo shark that is similar to what you have, after upgrading to a 480g tank and he was getting to big and active for it.