appendix/repo目录下语法格式修改
parent
5bc5219fa2
commit
25178fd616
|
@ -56,3 +56,5 @@ LABEL name="CentOS Base Image" \
|
|||
|
||||
CMD ["/bin/bash"]
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -261,3 +261,4 @@ ENTRYPOINT ["/entrypoint.sh"]
|
|||
EXPOSE 27017
|
||||
CMD ["mongod"]
|
||||
```
|
||||
|
||||
|
|
|
@ -122,3 +122,5 @@ ENTRYPOINT ["/entrypoint.sh"]
|
|||
EXPOSE 3306
|
||||
CMD ["mysqld", "--datadir=/var/lib/mysql", "--user=mysql"]
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -99,3 +99,5 @@ EXPOSE 80 443
|
|||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -139,3 +139,5 @@ ENTRYPOINT ["docker-entrypoint.sh"]
|
|||
EXPOSE 6379
|
||||
CMD [ "redis-server" ]
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -115,3 +115,4 @@ COPY docker-entrypoint.sh /entrypoint.sh
|
|||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["apache2-foreground"]
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue