Tag: docker orientdb

Orientdb不能在Docker容器中插入数据

我正在使用docker来使用orientdb。 在我的本地主机中使用我设法插入数据到数据库使用 OServerAdmin serverAdmin = new OServerAdmin("remote:localhost:2424").connect("root","password"); 但是,当我尝试使用docker容器做同样的事情我pipe理连接创build数据库,但我不能插入我的数据 OrientGraphFactory factory = new OrientGraphFactory("remote:172.17.0.2:2424/CartoesPagamentos").setupPool(1,10); OrientGraph graph = factory.getTx(); 关于为什么我可以使用API​​连接和创build数据库但不能插入任何数据的任何想法? 编辑: 我运行console.sh并连接到我的docker容器,像这样CONNECT远程:172.17.0.2:2424 / CartoesPagamentos根密码,我试图插入一个顶点,它的工作。