What is the primary purpose of Docker in a full-stack development workflow?
-
A
To manage DNS records for deployed applications
-
B
To package an application and its dependencies into portable containers that run consistently across environments
-
C
To compile TypeScript into JavaScript
-
D
To monitor application performance in production