Comments (18)
用中文聊吧,然后,请具体问题讲清楚...
from hadoop-cluster-docker.
I don't really understand chinese don't mind in english ?
from hadoop-cluster-docker.
Hi Mr Kiwenlau,
the following are my question I would like ask :
- I'm confuse on what are the file inside the docker image before get get clone from the GitHub ?
- how you build your kiwenlau/hadoop-master in docker hub ? I very curious to learn that !
Would you mind teach me how you build those ?
3 Hope to heard from you soon ! 👍 Thanks ! 👍
from hadoop-cluster-docker.
Sorry for the late reply.
- I can not understand the first problem.
- Build image using "docker build" command and push image to DockerHub using "docker push" command:
You can check following file for building all docker images:
https://github.com/kiwenlau/hadoop-cluster-docker/blob/master/build-image.sh
from hadoop-cluster-docker.
Hi Mr Kiwenlau,
- What I am trying to ask is, Do you mind indicate a step by step guide on how you create the
docker images ? At least i have a draft idea on how you create your docker images file maybe 1
example? 👍 - Why do we need clone the source code from GitHub? Cant we just develop 'the source code directly
from dockerfile? 👍 - How to see what is inside the "sudo docker pull kiwenlau/hadoop-master:0.1.0." before I pull the
Source code from GitHub.
from hadoop-cluster-docker.
To build a docker image:
- Write Dockerfile
- Run "docker build command"
https://docs.docker.com/engine/reference/builder/
https://docs.docker.com/engine/reference/commandline/build/
from hadoop-cluster-docker.
Before you push your dockerfile into the docker hub. Inside your dockerfile i container what ?
why we stiill need to get the source code from GitHub?
from hadoop-cluster-docker.
You can just pull all required images by running "docker pull".And you don't have to build image by your self. In this case, you don't need Dockerfile.
However, to run the project, you need to get the shell script "start-container.sh".
from hadoop-cluster-docker.
Don't need Dockerfile ?
we still sudo docker pull kiwenlau/hadoop-master:0.1.0?
from hadoop-cluster-docker.
Let say I would like you build my own docker image. Don't mind at least tell how you go about process one of the image here therefore I have a better understanding !
from hadoop-cluster-docker.
You can check following file for building all docker images:
https://github.com/kiwenlau/hadoop-cluster-docker/blob/master/build-image.sh
from hadoop-cluster-docker.
Just would like to clear my confusion since we no need to build our own docker images why we still need sudo docker pull kiwenlau/hadoop-master:0.1.0?
from hadoop-cluster-docker.
Using following command to build hadoop-base image:
cd hadoop-cluster-docker/hadoop-base
sudo docker build -t kiwenlau/hadoop-base:0.1.0 .
from hadoop-cluster-docker.
what is the purpose of sudo docker pull kiwenlau/hadoop-master:0.1.0?
from hadoop-cluster-docker.
The purpose of "sudo docker pull kiwenlau/hadoop-master:0.1.0" is to download docker image.
You should spend more time on studying Docker
I can not explain ever details...
from hadoop-cluster-docker.
Thank ! I re-read through and have full understand !!! you are an awesome developer 5 start for you !!!! 👍 👍 👍 👍 👍 👍
from hadoop-cluster-docker.
@kiwenlau @TaylorNm08z you don't need any sudo. You can just pull. Even for building on your machine, you don't need sudo. It's because Docker demon runs as a root user. Read more here: https://docs.docker.com/engine/installation/linux/ubuntulinux/
from hadoop-cluster-docker.
You need sudo to run docker command when you are not root user.
from hadoop-cluster-docker.
Related Issues (20)
- 这个项目还维护吗?感觉项目主维护不是很积极的样子 HOT 1
- 无法访问web界面 HOT 1
- 无法用gedit打开文件 HOT 1
- master and docker HOT 2
- 搭环境是不可能学会的啦 搭环境的这辈子都不可能的啦 HOT 1
- serf members bash: serf: command not found
- How to install other components such as kafka flume and spark
- There are not pip or pip3 in the docker...
- docker cp command
- sudo ./resize-cluster.sh 5 HOT 1
- master 和 slave 之间没有交换公钥是怎么实现相互免密登陆的
- start-container.sh错误 HOT 1
- ../
- start-container.sh 运行这个output窗口出现就消失了,然后也没看到启动成功
- start-container.sh 执行问题
- cannot download file from web HOT 1
- Bad owner or permissions on /root/.ssh/config
- 这个启动之后可以宿主机通过容器ip访问容器的hadoop服务吗?
- 能不能升级到hadoop 3.3+
- library initialization failed - unable to allocate file descriptor table - out of memory./run-wordcount.sh: line 28: 258 Aborted (core dumped) hdfs dfs -cat output/part-r-00000
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hadoop-cluster-docker.