dogs aren't succeptible to pinkeye as far as I know, but a problem like this could be an indicator of something far worse. You need to take your dog to a vet and have him looked at asap, or he could possibly go totally blind.
You need to have your pet seen by the doctor. It could be conjunctivitus and he would prescribe some medicine for the eyes, possibly dexicidan. It is either in a tube or liquid, or some triple antibiotic ointment. By all means take him to be seen.