docker run -p port:port project name code example Example: docker run -p port:port docker run -p containerport:machineport