First, snakes can't be tamed or domesticated in the sense that other pets can. They remain relatively "wild" for live, and only grow accustomed to humans over time.
Secondly, regardless of species, please please PLEASE return that snake to the wild. Wild animals should stay wild! Not to mention wild-caught snakes may be full of mites and other parasites. Captive bred animals are healthier and are already accustomed to a captive lifestyle from birth. Captive bred corn snakes are very inexpensive and come in a wide variety of beautiful colors!
On top of that, many states have regulations about the capture of native wildlife. Are you sure it's legal to keep a wild-caught snake in your state?
Based on your photo and because you're asking how to keep it, I'm assuming you are in no way prepared to keep a pet snake right this moment. I'm guessing you probably don't know proper husbandry techniques or what a corn snake needs to be healthy (hence why you're asking). It's good for you to ask... but you're adding undue stress to the poor snake by keeping it in improper conditions while you figure things out.
PLEASE let the wild snake go. Do research into proper husbandry for a corn snake. Only when you're ready and have your full set-up prepared in advance, THEN go find yourself a snake through a reputable breeder.
Edit: Sorry, I may have gotten on a soap box here. Been a long day.