- vagrant up
- vagrant ssh
- docker version
- docker run ubuntu /bin/echo hello world
- docker images
Last active
December 28, 2015 19:09
-
-
Save abtris/7548643 to your computer and use it in GitHub Desktop.
Docker Demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
MAINTAINER Ladislav Prskavec <ladislav@prskavec.net> | |
RUN apt-get update | |
RUN apt-get -y upgrade | |
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install curl apache2 libapache2-mod-php5 vim-tiny | |
RUN chown -R www-data:www-data /var/www/ | |
EXPOSE 80 | |
EXPOSE 22 | |
CMD ["/bin/bash"] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment