Can't install applications in 32 Linux image that runs on 64 bit host

Hello

I run Centos 6.9 32 bit image in Ubuntu 64 bit host. Trying to install simple vim application:

sudo yum install vim

Got error:
Running rpm_check_debug
Running Transaction Test

Transaction Check Error:
  package libacl-2.2.49-7.el6_9.1.x86_64 is already installed
  package ncurses-libs-5.7-4.20090207.el6.x86_64 is already installed
  package nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64 is already installed
  package libattr-2.4.44-7.el6.x86_64 is already installed
  package libselinux-2.0.94-7.el6.x86_64 is already installed
  package db4-4.7.25-22.el6.x86_64 is already installed
  package gdbm-1.8.0-39.el6.x86_64 is already installed
  package glibc-2.12-1.209.el6_9.2.x86_64 is already installed
  file /sbin/ldconfig from install of glibc-2.12-1.209.el6_9.2.x86_64 conflicts with file from package glibc-2.12-1.209.el6_9.2.i686
  file /sbin/sln from install of glibc-2.12-1.209.el6_9.2.x86_64 conflicts with file from package glibc-2.12-1.209.el6_9.2.i686
  file /usr/sbin/iconvconfig from install of glibc-2.12-1.209.el6_9.2.x86_64 conflicts with file from package glibc-2.12-1.209.el6_9.2.i686
  file /sbin/matchpathcon from install of libselinux-2.0.94-7.el6.x86_64 conflicts with file from package libselinux-2.0.94-7.el6.i686

Error Summary
-------------

Looks like yum thinks I’m running on 64 bit system. Containers share kernel with the host system. How to solve such install problems?