Inactive repos in my docker hub account

Why my repos are inactive, though I have created a few of them an hour ago?

Where do you see that? I guess you mean the “Inactive” label in the image list next to the number of stars. If you move the mouse pointer over the label it will show that is the status of image scanning that you probably didn’t activate.