Failing docker container when executed via CMD in Environment of a project.
Failing container when execured via CMD in Environment of a project. I planned to use containers for integration tests but it seems limited by the host image where AppV build agent runs? How can I use containers in my pipelines?
See
https://ci.appveyor.com/project/rdagumampan/yuniql-r1lu4/builds/42055634
```
docker run --rm -dit --name oracle11 -p 1521:1521 -e ORACLE_PASSWORD=P@ssw0rd! gvenzl/oracle-xe:11-slim
Unable to find image 'gvenzl/oracle-xe:11-slim' locally
11-slim: Pulling from gvenzl/oracle-xe
155aced26663: Pulling fs layer
8f653375ddbb: Pulling fs layer
155aced26663: Verifying Checksum
155aced26663: Download complete
8f653375ddbb: Verifying Checksum
8f653375ddbb: Download complete
155aced26663: Pull complete
8f653375ddbb: Pull complete
Digest: sha256:d183d9a671c5f985c6205ba1c66d176420e2cbf13dfdf73e5270cc3a892a2bcd
Status: Downloaded newer image for gvenzl/oracle-xe:11-slim
92b238c4c659dd6ebedc6f6858165f14893857a4b7ebe3cc91239ee6ebd642e5
docker logs oracle11 -f
CONTAINER: starting up...
CONTAINER: first database startup, initializing...
CONTAINER: uncompressing database data files, please wait...
CONTAINER: done uncompressing database data files, duration: 28 seconds.
CONTAINER: starting up Oracle Database...
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 01-JAN-2022 17:10:56
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Log messages written to /u01/app/oracle/diag/tnslsnr/92b238c4c659/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=92b238c4c659)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=0.0.0.0)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 01-JAN-2022 17:10:56
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File /u01/app/oracle/diag/tnslsnr/92b238c4c659/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=92b238c4c659)(PORT=1521)))
The listener supports no services
The command completed successfully
ERROR:
ORA-01031: insufficient privileges
```
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac