start of container fails. So working on a mac-air
cmd executed: docker run -d -p 80:3000 --name sg1 react-app
So Q, what am i missing, any help would be appreciated.
Content of dockerfile pasted; FROM node:14.16.0-alpine3.13
Code is not throwing any error. The container does not start. Did remove commented line in docker file. So what do you mean by triple backticks?
base) sg@sgs-macbook-air section4-react-app % docker build -t reach-app .
Howdy
Attempting to start docker using cmd-line. So where are logs located. below is what i executed and result pasted;
base) sg@sgs-macbook-air react-app % docker run react-app npm start
react-app@0.1.0 start /app
react-scripts start
「wds」: Project is running at http://172.17.0.2/
「wds」: webpack output is served from
「wds」: Content not from webpack is served from /app/public
「wds」: 404s will fallback to /
Starting the development server…
(base) sg@sgs-macbook-air react-app % docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
(base) sg@sgs-macbook-air react-app %