![]() ![]() Get:14 bionic-updates/universe amd64 Packages Get:13 bionic-updates/restricted amd64 Packages Get:6 bionic-security/multiverse amd64 Packages Get:5 bionic-security/restricted amd64 Packages Get:4 bionic-security/universe amd64 Packages Get:3 bionic-security/main amd64 Packages Status: Downloaded newer image for heavyai/heavyai-ee-cpu:latest Step 1/3 : FROM heavyai/heavyai-ee-cpu:latest Successfully tagged ls vi sudo docker build -t myimage. Step 2/3 : RUN apt-get update & apt-get install -y odbc-postgresql unixodbc Step 1/3 : FROM heavyai/heavyai-ee-cuda:latest Sending build context to Docker daemon 3.072kB Run the docker build sudo docker build -t myimage. With both files in a directory run the docker build command (I'm using myimage as the name of the image i'm going to create). The modified odbcini.ini file: ĭescription=PostgreSQL ODBC driver (ANSI version)ĭescription=PostgreSQL ODBC driver (Unicode version) RUN apt-get update & apt-get install -y odbc-postgresql unixodbc The Dockerfile FROM heavyai/heavyai-ee-cpu:latest To do that in a permanent way you have to use the docker build command and a Dockerfile and a modified odbcini.ini file To use heavy connect using odbc within a docker container, you should install the odbc manager and the drivers in the container. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |