commit
de81226f53
|
@ -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" ]
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -140,3 +140,5 @@ RUN sed -i 's/^#\s*\(deb.*universe\)$/\1/g' /etc/apt/sources.list
|
|||
# overwrite this with 'CMD []' in a dependent Dockerfile
|
||||
CMD ["/bin/bash"]
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -115,3 +115,4 @@ COPY docker-entrypoint.sh /entrypoint.sh
|
|||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["apache2-foreground"]
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue