Coder Social home page Coder Social logo

lnmp-2's Introduction

Configure File

PHP Configure

/usr/local/php/etc/

Run Container

$ docker run -it -d --name lnmp-php7.2 tinywan/lnmp-php7.2.13 /bin/bash
Unable to find image 'tinywan/lnmp-php7.2.13:latest' locally
latest: Pulling from tinywan/lnmp-php7.2.13
32802c0cfa4d: Pull complete 
da1315cffa03: Pull complete 
fa83472a3562: Pull complete 
f85999a86bef: Pull complete 
dae3c45336e0: Pull complete 
0475a69be0d4: Pull complete 
0c44d9a882de: Pull complete 
b36d85e8d77a: Pull complete 
Digest: sha256:bbb4e99dad77cd884ca56b1f1c3f33f2a15f3e2360abe364f8d2a9557fd45e16
Status: Downloaded newer image for tinywan/lnmp-php7.2.13:latest
f31bb449fd8bed26232d0da52911859f229d87dacc1a4b603b55f77bbed40cde

cat image

$ docker images
REPOSITORY               TAG                 IMAGE ID            CREATED             SIZE
tinywan/lnmp-php7.2.13   latest              e96dbe0fbbfb        43 minutes ago      789MB

cat running Container

$ docker ps
CONTAINER ID        IMAGE                    COMMAND             CREATED               PORTS               NAMES
f31bb449fd8b        tinywan/lnmp-php7.2.13   "/bin/bash"         12 seconds ago        9000/tcp            lnmp-php7.2

Input Container

$ docker attach f31bb449fd8b
root@f31bb449fd8b:/# cat /etc/issue
Ubuntu 18.04.1 LTS \n \l

cat PHP Version

root@f31bb449fd8b:/# /usr/local/php/bin/php -v
PHP 7.3.0 (cli) (built: Dec 18 2018 11:05:01) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.0-dev, Copyright (c) 1998-2018 Zend Technologies

lnmp

lnmp-2's People

Contributors

tinywan avatar

Watchers

skyformat99 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.