Comments (4)
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.
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.
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.
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)
- Issues with mysql:8.0.36-debian HOT 5
- null, message from server: "Host '172.18.0.1' is not allowed to connect to this MySQL server" in windows 11 HOT 1
- Docker issue HOT 1
- latest image has no connection HOT 13
- Single-quote character docker secrets causes failure in user creation HOT 2
- Not found docker image version 5.6.30 HOT 4
- mysql:oracle stopped working after recent pull HOT 6
- MySQL 8.4: 6125 (HY000) at line 1197: Failed to add the foreign key constraint. Missing unique key for constraint HOT 2
- Skip SSL HOT 4
- Container not working after building it HOT 3
- CPU does not support x86-64-v2 in the latest 8.4.0 HOT 11
- Environment broken (container restarting) in last version HOT 5
- Update Docker Image mysql 8.0.37 HOT 4
- Unable to start mysql with --mysql-native-password=ON HOT 5
- Docker character-set and collation-server problem after update HOT 3
- docker 8.4.0 swarm deploy start error: Data Dictionary initialization failed. HOT 6
- Client only variant? HOT 3
- internal users authentication plugin method HOT 2
- It is not possible to replace the "mysql" user with the "other" user for the mysqld process(There is a solution). HOT 4
- please add a mysql-router to the library package HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mysql.