FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
DistributedDeepLearning/Makefile at master · AdLinke-Media/DistributedDeepLearning · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
AdLinke-Media
/
DistributedDeepLearning
Public
forked from
Adlinke/DistributedDeepLearning
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
DistributedDeepLearning
/
Makefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
46 lines (38 loc) · 1.18 KB
Breadcrumbs
DistributedDeepLearning
/
Makefile
Copy path
File metadata and controls
46 lines (38 loc) · 1.18 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
define
PROJECT_HELP_MSG
Usage:
make help show this message
make build build docker image
make push push container
make run run benchmarking container
make jupyter run jupyter notebook inside container
endef
export
PROJECT_HELP_MSG
PWD:
=
$(
shell
pwd)
dockerhub:
=
data:
=
image_name:
=
$(
dockerhub
)
/distributed-training-control
help
:
echo
"
$$
PROJECT_HELP_MSG
"
|
less
build
:
docker build -t
$(
image_name
)
Docker
jupyter
:
docker run -p 9999:9999
\
-e EXT_PWD=
$(
PWD
)
\
-e EXT_DATA=
$(
data
)
\
-e DOCKER_REPOSITORY=
$(
dockerhub
)
\
-v
$(
PWD
)
:/workspace
\
-v
$(
data
)
:/data
\
-v /var/run/docker.sock:/var/run/docker.sock
\
-it
$(
image_name
)
bash -c
"
jupyter notebook
"
run
:
docker run -p 9999:9999
\
-e EXT_PWD=
$(
PWD
)
\
-e EXT_DATA=
$(
data
)
\
-e DOCKER_REPOSITORY=
$(
dockerhub
)
\
-v
$(
PWD
)
:/workspace
\
-v
$(
data
)
:/data
\
-v /var/run/docker.sock:/var/run/docker.sock
\
-it
$(
image_name
)
push
:
docker push
$(
image_name
)
.PHONY
: help build push
Back
|
FazBrowse Home
|
New Git URL