Git Product home page Git Product logo

Comments (4)

tianon avatar tianon commented on June 28, 2024

I can't duplicate: 😕

$ docker pull mysql:5.5
Pulling repository mysql
63467480c4af: Pulling image (5.5) from mysql, endpoint: https://registry-1.docke63467480c4af: Download complete 
511136ea3c5a: Download complete 
30d39e59ffe2: Download complete 
c90d655b99b2: Download complete 
b5e97c78b45c: Download complete 
cb0fa0867097: Download complete 
b36b6ddfcf01: Download complete 
8014d760fc97: Download complete 
299311e22152: Download complete 
60ffc0097126: Download complete 
5c4c784d9252: Download complete 
8cdcf147f312: Download complete 
d2d4a4fb4a64: Download complete 
20f14474fc42: Download complete 
c82aad9c252a: Download complete 
60fba1e950d7: Download complete 
78d511c03a6e: Download complete 
Status: Image is up to date for mysql:5.5
$ docker run -it --rm -e MYSQL_ROOT_PASSWORD=anything mysql:5.5
Running mysql_install_db ...
Installing MySQL system tables...
OK
Filling help tables...
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:

/usr/local/mysql/bin/mysqladmin -u root password 'new-password'
/usr/local/mysql/bin/mysqladmin -u root -h a3305dae0796 password 'new-password'

Alternatively you can run:
/usr/local/mysql/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr/local/mysql ; /usr/local/mysql/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd /usr/local/mysql/mysql-test ; perl mysql-test-run.pl

Please report any problems at http://bugs.mysql.com/

Finished mysql_install_db
150203 17:10:17 [Note] Plugin 'FEDERATED' is disabled.
150203 17:10:17 InnoDB: The InnoDB memory heap is disabled
150203 17:10:17 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150203 17:10:17 InnoDB: Compressed tables use zlib 1.2.3
150203 17:10:17 InnoDB: Using Linux native AIO
150203 17:10:17 InnoDB: Initializing buffer pool, size = 128.0M
150203 17:10:17 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
150203 17:10:17  InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
150203 17:10:17  InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
150203 17:10:17  InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
150203 17:10:18  InnoDB: Waiting for the background threads to start
150203 17:10:19 InnoDB: 5.5.41 started; log sequence number 0
150203 17:10:19 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
150203 17:10:19 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
150203 17:10:19 [Note] Server socket created on IP: '0.0.0.0'.
150203 17:10:19 [Note] Event Scheduler: Loaded 0 events
150203 17:10:19 [Note] mysqld: ready for connections.
Version: '5.5.41'  socket: '/tmp/mysql.sock'  port: 3306  MySQL Community Server (GPL)
....

from mysql.

remiq avatar remiq commented on June 28, 2024

It appears that I have an additional image - 63467480c4af

$ docker pull mysql:5.5
mysql:5.5: The image you are pulling has been verified

511136ea3c5a: Already exists 
30d39e59ffe2: Already exists 
c90d655b99b2: Already exists 
b5e97c78b45c: Already exists 
cb0fa0867097: Already exists 
b36b6ddfcf01: Already exists 
8014d760fc97: Already exists 
299311e22152: Already exists 
60ffc0097126: Already exists 
5c4c784d9252: Already exists 
8cdcf147f312: Already exists 
d2d4a4fb4a64: Already exists 
20f14474fc42: Already exists 
c82aad9c252a: Already exists 
60fba1e950d7: Already exists 
78d511c03a6e: Already exists 
63467480c4af: Already exists 
Status: Image is up to date for mysql:5.5

$ docker run -it --rm -e MYSQL_ROOT_PASSWORD=anything mysql:5.5
Running mysql_install_db ...
/entrypoint.sh: line 19: mysql_install_db: command not found
$ docker images | grep 63467480c4af
mysql                                      5.5                 63467480c4af        6 days ago          203.8 MB

$ docker inspect 63467480c4af
[{
    "Architecture": "amd64",
    "Author": "",
    "Checksum": "tarsum.dev+sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "Comment": "",
    "Config": {
        "AttachStderr": false,
        "AttachStdin": false,
        "AttachStdout": false,
        "Cmd": [
            "mysqld"
        ],
        "CpuShares": 0,
        "Cpuset": "",
        "Domainname": "",
        "Entrypoint": [
            "/entrypoint.sh"
        ],
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/mysql/bin:/usr/local/mysql/scripts",
            "MYSQL_MAJOR=5.5",
            "MYSQL_VERSION=5.5.41"
        ],
        "ExposedPorts": {
            "3306/tcp": {}
        },
        "Hostname": "dc534047acbb",
        "Image": "78d511c03a6ec887fcdb84cf0c7a0f0440b4fa20efa8723c709485e31f629567",
        "MacAddress": "",
        "Memory": 0,
        "MemorySwap": 0,
        "NetworkDisabled": false,
        "OnBuild": [],
        "OpenStdin": false,
        "PortSpecs": null,
        "StdinOnce": false,
        "Tty": false,
        "User": "",
        "Volumes": {
            "/var/lib/mysql": {}
        },
        "WorkingDir": ""
    },
    "Container": "c1b8fe5f44536c11cb1bb785345494fab67bc825d8e8d5765013dbd0b6642232",
    "ContainerConfig": {
        "AttachStderr": false,
        "AttachStdin": false,
        "AttachStdout": false,
        "Cmd": [
            "/bin/sh",
            "-c",
            "#(nop) CMD [mysqld]"
        ],
        "CpuShares": 0,
        "Cpuset": "",
        "Domainname": "",
        "Entrypoint": [
            "/entrypoint.sh"
        ],
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/mysql/bin:/usr/local/mysql/scripts",
            "MYSQL_MAJOR=5.5",
            "MYSQL_VERSION=5.5.41"
        ],
        "ExposedPorts": {
            "3306/tcp": {}
        },
        "Hostname": "dc534047acbb",
        "Image": "78d511c03a6ec887fcdb84cf0c7a0f0440b4fa20efa8723c709485e31f629567",
        "MacAddress": "",
        "Memory": 0,
        "MemorySwap": 0,
        "NetworkDisabled": false,
        "OnBuild": [],
        "OpenStdin": false,
        "PortSpecs": null,
        "StdinOnce": false,
        "Tty": false,
        "User": "",
        "Volumes": {
            "/var/lib/mysql": {}
        },
        "WorkingDir": ""
    },
    "Created": "2015-01-27T18:34:34.024415342Z",
    "DockerVersion": "1.4.1",
    "Id": "63467480c4aff7f854091e6f18a4bd2db38b2547a20fe7baed2d82e4d22ae795",
    "Os": "linux",
    "Parent": "78d511c03a6ec887fcdb84cf0c7a0f0440b4fa20efa8723c709485e31f629567",
    "Size": 0,
    "VirtualSize": 203807957
}
]

from mysql.

tianon avatar tianon commented on June 28, 2024

Indeed, that's the same image ID I'm running:

$ docker images mysql | grep ' 5.5 '
mysql               5.5                 63467480c4af        6 days ago          214.5 MB

from mysql.

remiq avatar remiq commented on June 28, 2024

I've executed the same steps in VM - it works correctly.
Since problem is on my machine, I'm closing this issue. Thanks for help.

from mysql.

Related Issues (20)

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.