Use logs instead of attach for builder

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
Make daemon.Attach private

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
Merge pull request #8415 from LK4D4/use_logs_in_builder

Use logs instead of attach for builder