You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ahref="#docker_git">Dockerfile from Map2Check repository</a>
35
+
</li>
36
+
</ul>
37
+
38
+
<!-- Each content -->
39
+
<h2id="docker_hub">Docker Hub</h2>
40
+
<pstyle="text-align:justify">
41
+
Map2Check docker image is available at <ahref="https://hub.docker.com">https://hub.docker.com</a>, you can use our docker image, as following:
42
+
</p>
43
+
<figureid="code">
44
+
<preclass="prettyprint lang-sh code">
45
+
$ docker pull hrocha/mapdevel
46
+
$ mkdir $(pwd)/mapdevel
47
+
$ docker run -it --name=mapdevel -v $(pwd):/home/map2check/devel_tool/host:Z hrocha/mapdevel /bin/bash
48
+
</pre>
49
+
</figure>
50
+
</br>
51
+
52
+
<h2id="docker_git">Dockerfile from Map2Check repository</h2>
53
+
<pstyle="text-align:justify">
54
+
Map2Check dockerfile to build the Map2Check tool image with our development environment is available at <ahref="https://github.com/hbgit/Map2Check.git">https://github.com/hbgit/Map2Check.git</a>, you can build our docker image, as following:
55
+
</p>
56
+
57
+
<figureid="code">
58
+
<preclass="prettyprint lang-sh code">
59
+
$ gitclone https://github.com/hbgit/Map2Check.git
60
+
$ git checkout map2checkllvm
61
+
$ docker build -t hrocha/mapdevel .
62
+
$ docker run -it --name=mapdevel -v $(pwd):/home/map2check/devel_tool/mygitclone:Z hrocha/mapdevel /bin/bash
63
+
</pre>
64
+
</figure>
65
+
</br>
66
+
67
+
68
+
<h2>Docker Extra Information</h2>
69
+
<pstyle="text-align:justify">
70
+
Our docker user is <fontface="courier new">"map2check"</font> and the password is <fontface="courier new">"map2check"</font>. Docker tips:
71
+
</p>
72
+
<ul>
73
+
<li>
74
+
You can check that the container still exists by running: <fontface="courier new">$ docker ps -a</font>
75
+
</li>
76
+
<li>
77
+
You can restart the container by running: <fontface="courier new">docker start -ai mapdevel</font>
78
+
</li>
79
+
<li>
80
+
You can run any command in running container just knowing its ID (or name): <fontface="courier new">docker exec <container_id_or_name> echo "Hello from container!"</font>
0 commit comments