Docker quickstart cloudera

me@MacBook:~$ docker pull cloudera/quickstart:latest
latest: Pulling from cloudera/quickstart
1d00652ce734: Pull complete
Digest: sha256:f91bee4cdfa2c92ea3652929a22f729d4d13fc838b00f120e630f91c941acb63
Status: Downloaded newer image for cloudera/quickstart:latest

docker images

docker run –hostname=quickstart.cloudera –privileged=true -t -i –hostname=quickstart.cloudera –privileged=true -t -i -p 8888:8888 -p80:80 -p7180:7180 –name quickstart.cloudera -d 4239cd2958c6 /usr/bin/docker-quickstart

me@MacBook:~/dev/env$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
da0050c427c3 4239cd2958c6 “/usr/bin/docker-quic” 3 hours ago Up 3 hours 0.0.0.0:80->80/tcp, 0.0.0.0:7180->7180/tcp, 0.0.0.0:8888->8888/tcp quickstart.cloudera

docker attach quickstart.cloudera

ctrl + p + ctrl + q (detach the tty)

docker start quickstart.cloudera

me@MacBook:~$ docker stop -t 120 quickstart.cloudera
quickstart.cloudera

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s